Changeset 1080:c5cd8960df74 in lemon-main
- Timestamp:
- 08/06/13 05:38:49 (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/groups.dox
r1053 r1080 498 498 time is exponential. 499 499 Both \ref KarpMmc "Karp" and \ref HartmannOrlinMmc "Hartmann-Orlin" algorithms 500 run in time O(n e) and use space O(n<sup>2</sup>+e).500 run in time O(nm) and use space O(n<sup>2</sup>+m). 501 501 */ 502 502 -
lemon/bellman_ford.h
r1074 r1080 150 150 /// This class provides an efficient implementation of the Bellman-Ford 151 151 /// algorithm. The maximum time complexity of the algorithm is 152 /// <tt>O(n e)</tt>.152 /// <tt>O(nm)</tt>. 153 153 /// 154 154 /// The Bellman-Ford algorithm solves the single-source shortest path -
lemon/capacity_scaling.h
r1074 r1080 70 70 /// \cite edmondskarp72theoretical. It is an efficient dual 71 71 /// solution method, which runs in polynomial time 72 /// \f$O( e\log U (n+e)\log n)\f$, where <i>U</i> denotes the maximum72 /// \f$O(m\log U (n+m)\log n)\f$, where <i>U</i> denotes the maximum 73 73 /// of node supply and arc capacity values. 74 74 /// … … 647 647 /// 648 648 /// This function returns the total cost of the found flow. 649 /// Its complexity is O( e).649 /// Its complexity is O(m). 650 650 /// 651 651 /// \note The return type of the function can be specified as a -
lemon/cost_scaling.h
r1074 r1080 98 98 /// "preflow push-relabel" algorithm for the maximum flow problem. 99 99 /// It is a polynomial algorithm, its running time complexity is 100 /// \f$O(n^2 e\log(nK))\f$, where <i>K</i> denotes the maximum arc cost.100 /// \f$O(n^2m\log(nK))\f$, where <i>K</i> denotes the maximum arc cost. 101 101 /// 102 102 /// In general, \ref NetworkSimplex and \ref CostScaling are the fastest … … 671 671 /// 672 672 /// This function returns the total cost of the found flow. 673 /// Its complexity is O( e).673 /// Its complexity is O(m). 674 674 /// 675 675 /// \note The return type of the function can be specified as a -
lemon/cycle_canceling.h
r1071 r1080 52 52 /// The most efficent one is the \ref CANCEL_AND_TIGHTEN 53 53 /// "Cancel-and-Tighten" algorithm, thus it is the default method. 54 /// It runs in strongly polynomial time O(n<sup>2</sup> e<sup>2</sup>log(n)),54 /// It runs in strongly polynomial time O(n<sup>2</sup>m<sup>2</sup>log(n)), 55 55 /// but in practice, it is typically orders of magnitude slower than 56 56 /// the scaling algorithms and \ref NetworkSimplex. … … 134 134 /// \cite goldberg89cyclecanceling. It improves along a 135 135 /// \ref min_mean_cycle "minimum mean cycle" in each iteration. 136 /// Its running time complexity is O(n<sup>2</sup> e<sup>3</sup>log(n)).136 /// Its running time complexity is O(n<sup>2</sup>m<sup>3</sup>log(n)). 137 137 MINIMUM_MEAN_CYCLE_CANCELING, 138 138 /// The "Cancel-and-Tighten" algorithm, which can be viewed as an … … 140 140 /// \cite goldberg89cyclecanceling. 141 141 /// It is faster both in theory and in practice, its running time 142 /// complexity is O(n<sup>2</sup> e<sup>2</sup>log(n)).142 /// complexity is O(n<sup>2</sup>m<sup>2</sup>log(n)). 143 143 CANCEL_AND_TIGHTEN 144 144 }; … … 577 577 /// 578 578 /// This function returns the total cost of the found flow. 579 /// Its complexity is O( e).579 /// Its complexity is O(m). 580 580 /// 581 581 /// \note The return type of the function can be specified as a -
lemon/gomory_hu.h
r877 r1080 47 47 /// 48 48 /// The algorithm calculates \e n-1 distinct minimum cuts (currently with 49 /// the \ref Preflow algorithm), thus it has \f$O(n^3\sqrt{ e})\f$ overall49 /// the \ref Preflow algorithm), thus it has \f$O(n^3\sqrt{m})\f$ overall 50 50 /// time complexity. It calculates a rooted Gomory-Hu tree. 51 51 /// The structure of the tree and the edge weights can be -
lemon/hartmann_orlin_mmc.h
r1074 r1080 103 103 /// applies an early termination scheme. It makes the algorithm 104 104 /// significantly faster for some problem instances, but slower for others. 105 /// The algorithm runs in time O(n e) and uses space O(n<sup>2</sup>+e).105 /// The algorithm runs in time O(nm) and uses space O(n<sup>2</sup>+m). 106 106 /// 107 107 /// \tparam GR The type of the digraph the algorithm runs on. -
lemon/karp_mmc.h
r1074 r1080 100 100 /// cycle of minimum mean cost in a digraph 101 101 /// \cite karp78characterization, \cite dasdan98minmeancycle. 102 /// It runs in time O(n e) and uses space O(n<sup>2</sup>+e).102 /// It runs in time O(nm) and uses space O(n<sup>2</sup>+m). 103 103 /// 104 104 /// \tparam GR The type of the digraph the algorithm runs on. -
lemon/min_cost_arborescence.h
r1074 r1080 102 102 /// the minimum cost subgraph that is the union of arborescences with the 103 103 /// given sources and spans all the nodes which are reachable from the 104 /// sources. The time complexity of the algorithm is O(n<sup>2</sup>+ e).104 /// sources. The time complexity of the algorithm is O(n<sup>2</sup>+m). 105 105 /// 106 106 /// The algorithm also provides an optimal dual solution, therefore -
lemon/network_simplex.h
r1071 r1080 974 974 /// 975 975 /// This function returns the total cost of the found flow. 976 /// Its complexity is O( e).976 /// Its complexity is O(m). 977 977 /// 978 978 /// \note The return type of the function can be specified as a -
lemon/preflow.h
r1074 r1080 108 108 /// flow algorithms. The current implementation uses a mixture of the 109 109 /// \e "highest label" and the \e "bound decrease" heuristics. 110 /// The worst case time complexity of the algorithm is \f$O(n^2\sqrt{ e})\f$.110 /// The worst case time complexity of the algorithm is \f$O(n^2\sqrt{m})\f$. 111 111 /// 112 112 /// The algorithm consists of two phases. After the first phase -
lemon/suurballe.h
r1074 r1080 683 683 /// This function returns the total length of the found paths, i.e. 684 684 /// the total cost of the found flow. 685 /// The complexity of the function is O( e).685 /// The complexity of the function is O(m). 686 686 /// 687 687 /// \pre \ref run() or \ref findFlow() must be called before using
Note: See TracChangeset
for help on using the changeset viewer.