Changeset 2522:616c019215c4 in lemon-0.x for lemon/preflow.h
- Timestamp:
- 11/27/07 16:41:43 (16 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3398
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/preflow.h
r2518 r2522 73 73 /// \sa Elevator 74 74 /// \sa LinkedElevator 75 typedef LinkedElevator<Graph, typename Graph::Node> Elevator;75 typedef Elevator<Graph, typename Graph::Node> Elevator; 76 76 77 77 /// \brief Instantiates an Elevator. … … 101 101 /// flow algorithms. The current implementation use a mixture of the 102 102 /// \e "highest label" and the \e "bound decrease" heuristics. 103 /// The worst case time complexity of the algorithm is \f$O(n^ 3)\f$.103 /// The worst case time complexity of the algorithm is \f$O(n^2\sqrt{e})\f$. 104 104 /// 105 105 /// The algorithm consists from two phases. After the first phase … … 408 408 reached.set(_target, true); 409 409 while (!queue.empty()) { 410 _level->initNewLevel(); 410 411 std::vector<Node> nqueue; 411 412 for (int i = 0; i < int(queue.size()); ++i) { … … 864 865 865 866 /// \name Query Functions 866 /// The result of the % Dijkstraalgorithm can be obtained using these867 /// The result of the %Preflow algorithm can be obtained using these 867 868 /// functions.\n 868 869 /// Before the use of these functions,
Note: See TracChangeset
for help on using the changeset viewer.