Changeset 986:e997802b855c in lemon-0.x for src/lemon/concept/graph_component.h
- Timestamp:
- 11/13/04 13:53:28 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1376
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/concept/graph_component.h
r980 r986 243 243 }; 244 244 245 ///Gives back the headnode of an edge.246 247 ///Gives back the headnode of an edge.248 /// 249 Node head(const Edge&) const { return INVALID;}250 251 ///Gives back the tailnode of an edge.252 253 ///Gives back the tailnode of an edge.254 /// 255 Node tail(const Edge&) const { return INVALID;}245 ///Gives back the target node of an edge. 246 247 ///Gives back the target node of an edge. 248 /// 249 Node target(const Edge&) const { return INVALID;} 250 251 ///Gives back the source node of an edge. 252 253 ///Gives back the source node of an edge. 254 /// 255 Node source(const Edge&) const { return INVALID;} 256 256 }; 257 257 … … 273 273 Node n; 274 274 Edge e; 275 n = graph. tail(e);276 n = graph. head(e);275 n = graph.source(e); 276 n = graph.target(e); 277 277 } 278 278 }
Note: See TracChangeset
for help on using the changeset viewer.