Changeset 208:1e36245f905d in lemon-0.x for src/work
- Timestamp:
- 03/19/04 16:41:58 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@300
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/list_graph.h
r174 r208 429 429 //protected: 430 430 public: //for alpar 431 EdgeIt(const ListGraph& G) {431 EdgeIt(const ListGraph&) { 432 432 node_item* v=G._first_node; 433 433 if (v) edge=v->_first_out_edge; else edge=0; … … 456 456 OutEdgeIt() : Edge()/*, v(0)*/ { } 457 457 OutEdgeIt(const Invalid& i) : Edge(i) { } 458 OutEdgeIt(const ListGraph& G, Node _v) /*: v(_v.node)*/ { edge=_v.node->_first_out_edge; }458 OutEdgeIt(const ListGraph&, Node _v) /*: v(_v.node)*/ { edge=_v.node->_first_out_edge; } 459 459 protected: 460 460 OutEdgeIt& operator++() { edge=edge->_next_out; return *this; } … … 473 473 InEdgeIt() : Edge()/*, v(0)*/ { } 474 474 InEdgeIt(const Invalid& i) : Edge(i) { } 475 InEdgeIt(const ListGraph& G, Node _v) /*: v(_v.node)*/ { edge=_v.node->_first_in_edge; }475 InEdgeIt(const ListGraph&, Node _v) /*: v(_v.node)*/ { edge=_v.node->_first_in_edge; } 476 476 protected: 477 477 InEdgeIt& operator++() { edge=edge->_next_in; return *this; } … … 495 495 SymEdgeIt() : Edge() /*, v(0)*/ { } 496 496 SymEdgeIt(const Invalid& i) : Edge(i) { } 497 SymEdgeIt(const ListGraph& G, Node _v) /*: v(_v.node)*/ {497 SymEdgeIt(const ListGraph&, Node _v) /*: v(_v.node)*/ { 498 498 out_or_in=1; 499 499 edge=_v.node->_first_out_edge;
Note: See TracChangeset
for help on using the changeset viewer.