Changeset 986:e997802b855c in lemon-0.x for src/work/alpar/gwrapper.h
- Timestamp:
- 11/13/04 13:53:28 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1376
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/alpar/gwrapper.h
r921 r986 28 28 template<typename I> I &goNext(I &i); { return graph->goNext(i); } 29 29 30 NodeIt head(const EdgeIt &e);31 { return graph-> head(e); }32 NodeIt tail(const EdgeIt &e);33 { return graph-> tail(e); }30 NodeIt target(const EdgeIt &e); 31 { return graph->target(e); } 32 NodeIt source(const EdgeIt &e); 33 { return graph->source(e); } 34 34 35 35 template<typename I> NodeIt aNode(const I e); … … 84 84 template<typename I> I &goNext(I &i); { return graph->goNext(i); } 85 85 86 NodeIt head(const EdgeIt &e);87 { return graph-> tail(e); }88 NodeIt tail(const EdgeIt &e);89 { return graph-> head(e); }86 NodeIt target(const EdgeIt &e); 87 { return graph->source(e); } 88 NodeIt source(const EdgeIt &e); 89 { return graph->target(e); } 90 90 91 91 template<typename I> NodeIt aNode(const I e); … … 138 138 // template<typename I> I &goNext(I &i); { return graph->goNext(i); } 139 139 140 NodeIt head(const EdgeIt &e);141 { return G:: tail(e); }142 NodeIt tail(const EdgeIt &e);143 { return G:: head(e); }140 NodeIt target(const EdgeIt &e); 141 { return G::source(e); } 142 NodeIt source(const EdgeIt &e); 143 { return G::target(e); } 144 144 145 145 // template<typename I> NodeIt aNode(const I e); … … 195 195 template<typename I> I &goNext(I &i); { return graph->goNext(i); } 196 196 197 NodeIt head(const EdgeIt &e);198 { return graph-> head(e); }199 NodeIt tail(const EdgeIt &e);200 { return graph-> tail(e); }197 NodeIt target(const EdgeIt &e); 198 { return graph->target(e); } 199 NodeIt source(const EdgeIt &e); 200 { return graph->source(e); } 201 201 202 202 template<typename I> NodeIt aNode(const I e); … … 344 344 template<typename I> I next(const I i); { return graph->goNext(i); } 345 345 346 NodeIt head(const EdgeIt &e);347 { return graph-> head(e); }348 NodeIt tail(const EdgeIt &e);349 { return graph-> tail(e); }346 NodeIt target(const EdgeIt &e); 347 { return graph->target(e); } 348 NodeIt source(const EdgeIt &e); 349 { return graph->source(e); } 350 350 351 351 template<typename I> NodeIt aNode(const I e);
Note: See TracChangeset
for help on using the changeset viewer.