Changeset 825:a143f19f465b in lemon for lemon/full_graph.h
- Timestamp:
- 09/29/09 13:03:34 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/full_graph.h
r664 r825 52 52 53 53 Node operator()(int ix) const { return Node(ix); } 54 int index(const Node& node) const{ return node._id; }54 static int index(const Node& node) { return node._id; } 55 55 56 56 Arc arc(const Node& s, const Node& t) const { … … 210 210 /// <tt>[0..nodeNum()-1]</tt>. 211 211 /// \sa operator() 212 int index(const Node& node) const{ return Parent::index(node); }212 static int index(const Node& node) { return Parent::index(node); } 213 213 214 214 /// \brief Returns the arc connecting the given nodes. … … 284 284 285 285 Node operator()(int ix) const { return Node(ix); } 286 int index(const Node& node) const{ return node._id; }286 static int index(const Node& node) { return node._id; } 287 287 288 288 Edge edge(const Node& u, const Node& v) const { … … 581 581 /// <tt>[0..nodeNum()-1]</tt>. 582 582 /// \sa operator() 583 int index(const Node& node) const{ return Parent::index(node); }583 static int index(const Node& node) { return Parent::index(node); } 584 584 585 585 /// \brief Returns the arc connecting the given nodes.
Note: See TracChangeset
for help on using the changeset viewer.