Changeset 1516:4aeda8d11d5e in lemon-0.x
- Timestamp:
- 06/27/05 16:39:53 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2001
- Location:
- lemon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bfs.h
r1435 r1516 518 518 ///Processes the next node. 519 519 /// 520 ///\return The processed node. 521 /// 520 522 ///\warning The queue must not be empty! 521 voidprocessNextNode()523 Node processNextNode() 522 524 { 523 525 if(_queue_tail==_queue_next_dist) { … … 536 538 _dist->set(m,_curr_dist); 537 539 } 540 return n; 538 541 } 539 542 -
lemon/dfs.h
r1443 r1516 517 517 ///Processes the next node. 518 518 /// 519 ///\return The processed edge. 520 /// 519 521 ///\pre The stack must not be empty! 520 voidprocessNextEdge()522 Edge processNextEdge() 521 523 { 522 524 Node m; … … 540 542 } 541 543 } 544 return e; 542 545 } 543 546 -
lemon/dijkstra.h
r1435 r1516 511 511 ///Processes the next node in the priority heap. 512 512 /// 513 ///\return The processed node. 514 /// 513 515 ///\warning The priority heap must not be empty! 514 voidprocessNextNode()516 Node processNextNode() 515 517 { 516 518 Node v=_heap.top(); … … 538 540 } 539 541 } 542 return v; 540 543 } 541 544
Note: See TracChangeset
for help on using the changeset viewer.