Changeset 1665:fdeb961110ac in lemon-0.x for lemon/dfs.h
- Timestamp:
- 08/30/05 16:55:11 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2181
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/dfs.h
r1664 r1665 553 553 return e; 554 554 } 555 ///Next edge to be processed. 556 557 ///Next edge to be processed. 558 /// 559 ///\return The next edge to be processed or INVALID if the stack is 560 /// empty. 561 OutEdgeIt NextEdge() 562 { 563 return _stack_head>=0?_stack[_stack_head]:INVALID; 564 } 555 565 556 566 ///\brief Returns \c false if there are nodes … … 559 569 ///Returns \c false if there are nodes 560 570 ///to be processed in the queue 571 /// 572 ///\todo This should be called emptyStack() or some "neutral" name. 561 573 bool emptyQueue() { return _stack_head<0; } 562 574 ///Returns the number of the nodes to be processed. … … 564 576 ///Returns the number of the nodes to be processed in the queue. 565 577 /// 578 ///\todo This should be called stackSize() or some "neutral" name. 566 579 int queueSize() { return _stack_head+1; } 567 580
Note: See TracChangeset
for help on using the changeset viewer.