Changeset 2476:059dcdda37c5 in lemon-0.x for lemon/bellman_ford.h
- Timestamp:
- 09/27/07 15:04:06 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3315
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bellman_ford.h
r2408 r2476 433 433 /// easily with \ref path() or \ref predEdge() functions. If you 434 434 /// need the shortest path and not just the distance you should store 435 /// after each iteration the \ref pred EdgeMap() map and manually build435 /// after each iteration the \ref predMap() map and manually build 436 436 /// the path. 437 437 /// … … 546 546 /// easily with \ref path() or \ref predEdge() functions. If you 547 547 /// need the shortest path and not just the distance you should store 548 /// after each iteration the \ref pred EdgeMap() map and manually build548 /// after each iteration the \ref predMap() map and manually build 549 549 /// the path. 550 550 /// … … 952 952 /// 953 953 /// Runs BellmanFord algorithm from the given node. 954 /// \param s ourceis the given source.954 /// \param src is the given source. 955 955 void run(Node src) { 956 956 Base::_source = src; … … 1017 1017 /// 1018 1018 /// Sets the source node, from which the BellmanFord algorithm runs. 1019 /// \param s ourceis the source node.1019 /// \param src is the source node. 1020 1020 BellmanFordWizard<_Traits>& source(Node src) { 1021 1021 Base::_source = src;
Note: See TracChangeset
for help on using the changeset viewer.