src/work/alpar/gwrapper.h
changeset 986 e997802b855c
parent 921 818510fa3d99
     1.1 --- a/src/work/alpar/gwrapper.h	Sat Nov 13 12:24:01 2004 +0000
     1.2 +++ b/src/work/alpar/gwrapper.h	Sat Nov 13 12:53:28 2004 +0000
     1.3 @@ -27,10 +27,10 @@
     1.4    template<typename I> I next(const I i); { return graph->goNext(i); }
     1.5    template<typename I> I &goNext(I &i); { return graph->goNext(i); }
     1.6  
     1.7 -  NodeIt head(const EdgeIt &e);
     1.8 -  { return graph->head(e); }
     1.9 -  NodeIt tail(const EdgeIt &e);
    1.10 -  { return graph->tail(e); }
    1.11 +  NodeIt target(const EdgeIt &e);
    1.12 +  { return graph->target(e); }
    1.13 +  NodeIt source(const EdgeIt &e);
    1.14 +  { return graph->source(e); }
    1.15    
    1.16    template<typename I> NodeIt aNode(const I e);
    1.17    { return graph->aNode(e); }
    1.18 @@ -83,10 +83,10 @@
    1.19    template<typename I> I next(const I i); { return graph->goNext(i); }
    1.20    template<typename I> I &goNext(I &i); { return graph->goNext(i); }
    1.21  
    1.22 -  NodeIt head(const EdgeIt &e);
    1.23 -  { return graph->tail(e); }
    1.24 -  NodeIt tail(const EdgeIt &e);
    1.25 -  { return graph->head(e); }
    1.26 +  NodeIt target(const EdgeIt &e);
    1.27 +  { return graph->source(e); }
    1.28 +  NodeIt source(const EdgeIt &e);
    1.29 +  { return graph->target(e); }
    1.30    
    1.31    template<typename I> NodeIt aNode(const I e);
    1.32    { return graph->aNode(e); }
    1.33 @@ -137,10 +137,10 @@
    1.34  //   template<typename I> I next(const I i); { return graph->goNext(i); }
    1.35  //   template<typename I> I &goNext(I &i); { return graph->goNext(i); }
    1.36  
    1.37 -  NodeIt head(const EdgeIt &e);
    1.38 -  { return G::tail(e); }
    1.39 -  NodeIt tail(const EdgeIt &e);
    1.40 -  { return G::head(e); }
    1.41 +  NodeIt target(const EdgeIt &e);
    1.42 +  { return G::source(e); }
    1.43 +  NodeIt source(const EdgeIt &e);
    1.44 +  { return G::target(e); }
    1.45    
    1.46  //   template<typename I> NodeIt aNode(const I e);
    1.47  //   { return graph->aNode(e); }
    1.48 @@ -194,10 +194,10 @@
    1.49    template<typename I> I next(const I i); { return graph->goNext(i); }
    1.50    template<typename I> I &goNext(I &i); { return graph->goNext(i); }
    1.51  
    1.52 -  NodeIt head(const EdgeIt &e);
    1.53 -  { return graph->head(e); }
    1.54 -  NodeIt tail(const EdgeIt &e);
    1.55 -  { return graph->tail(e); }
    1.56 +  NodeIt target(const EdgeIt &e);
    1.57 +  { return graph->target(e); }
    1.58 +  NodeIt source(const EdgeIt &e);
    1.59 +  { return graph->source(e); }
    1.60    
    1.61    template<typename I> NodeIt aNode(const I e);
    1.62    { return graph->aNode(e); }
    1.63 @@ -343,10 +343,10 @@
    1.64    template<typename I> I &goNext(I &i); { return graph->goNext(i); }
    1.65    template<typename I> I next(const I i); { return graph->goNext(i); }
    1.66  
    1.67 -  NodeIt head(const EdgeIt &e);
    1.68 -  { return graph->head(e); }
    1.69 -  NodeIt tail(const EdgeIt &e);
    1.70 -  { return graph->tail(e); }
    1.71 +  NodeIt target(const EdgeIt &e);
    1.72 +  { return graph->target(e); }
    1.73 +  NodeIt source(const EdgeIt &e);
    1.74 +  { return graph->source(e); }
    1.75    
    1.76    template<typename I> NodeIt aNode(const I e);
    1.77    { return graph->aNode(e); }