# Changeset 953:d8ea85825e02 in lemon

Ignore:
Timestamp:
03/16/10 21:27:35 (9 years ago)
Branch:
default
Parents:
952:23da1b807280 (diff), 951:41d7ac528c3a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Phase:
public
Message:

Merge #314

Files:
8 edited

Unmodified
Added
Removed
• ## doc/groups.dox

 r948 /** @defgroup geomdat Geometric Data Structures @ingroup auxdat \brief Geometric data structures implemented in LEMON. This group contains geometric data structures implemented in LEMON. - \ref lemon::dim2::Point "dim2::Point" implements a two dimensional vector with the usual operations. - \ref lemon::dim2::Box "dim2::Box" can be used to determine the rectangular bounding box of a set of \ref lemon::dim2::Point "dim2::Point"'s. */ /** @defgroup matrices Matrices @ingroup auxdat \brief Two dimensional data storages implemented in LEMON. This group contains two dimensional data storages implemented in LEMON. */ /** @defgroup algs Algorithms \brief This group contains the several algorithms This group contains the common graph search algorithms, namely \e breadth-first \e search (BFS) and \e depth-first \e search (DFS). \e breadth-first \e search (BFS) and \e depth-first \e search (DFS) \ref clrs01algorithms. */ \brief Algorithms for finding shortest paths. This group contains the algorithms for finding shortest paths in digraphs. This group contains the algorithms for finding shortest paths in digraphs \ref clrs01algorithms. - \ref Dijkstra algorithm for finding shortest paths from a source node /** @defgroup spantree Minimum Spanning Tree Algorithms @ingroup algs \brief Algorithms for finding minimum cost spanning trees and arborescences. This group contains the algorithms for finding minimum cost spanning trees and arborescences \ref clrs01algorithms. */ /** @defgroup max_flow Maximum Flow Algorithms @ingroup algs This group contains the algorithms for finding maximum flows and feasible circulations. feasible circulations \ref clrs01algorithms, \ref amo93networkflows. The \e maximum \e flow \e problem is to find a flow of maximum value between LEMON contains several algorithms for solving maximum flow problems: - \ref EdmondsKarp Edmonds-Karp algorithm. - \ref Preflow Goldberg-Tarjan's preflow push-relabel algorithm. - \ref DinitzSleatorTarjan Dinitz's blocking flow algorithm with dynamic trees. - \ref GoldbergTarjan Preflow push-relabel algorithm with dynamic trees. In most cases the \ref Preflow "Preflow" algorithm provides the - \ref EdmondsKarp Edmonds-Karp algorithm \ref edmondskarp72theoretical. - \ref Preflow Goldberg-Tarjan's preflow push-relabel algorithm \ref goldberg88newapproach. - \ref DinitzSleatorTarjan Dinitz's blocking flow algorithm with dynamic trees \ref dinic70algorithm, \ref sleator83dynamic. - \ref GoldbergTarjan !Preflow push-relabel algorithm with dynamic trees \ref goldberg88newapproach, \ref sleator83dynamic. In most cases the \ref Preflow algorithm provides the fastest method for computing a maximum flow. All implementations also provide functions to query the minimum cut, which is the dual This group contains the algorithms for finding minimum cost flows and circulations. For more information about this problem and its dual solution see \ref min_cost_flow "Minimum Cost Flow Problem". circulations \ref amo93networkflows. For more information about this problem and its dual solution, see \ref min_cost_flow "Minimum Cost Flow Problem". LEMON contains several algorithms for this problem. - \ref NetworkSimplex Primal Network Simplex algorithm with various pivot strategies. - \ref CostScaling Push-Relabel and Augment-Relabel algorithms based on cost scaling. - \ref CapacityScaling Successive Shortest %Path algorithm with optional capacity scaling. - \ref CancelAndTighten The Cancel and Tighten algorithm. - \ref CycleCanceling Cycle-Canceling algorithms. pivot strategies \ref dantzig63linearprog, \ref kellyoneill91netsimplex. - \ref CostScaling Cost Scaling algorithm based on push/augment and relabel operations \ref goldberg90approximation, \ref goldberg97efficient, \ref bunnagel98efficient. - \ref CapacityScaling Capacity Scaling algorithm based on the successive shortest path method \ref edmondskarp72theoretical. - \ref CycleCanceling Cycle-Canceling algorithms, two of which are strongly polynomial \ref klein67primal, \ref goldberg89cyclecanceling. In general NetworkSimplex is the most efficient implementation, \f[ \min_{X \subset V, X\not\in \{\emptyset, V\}} \sum_{uv\in A, u\in X, v\not\in X}cap(uv) \f] \sum_{uv\in A: u\in X, v\not\in X}cap(uv) \f] LEMON contains several algorithms related to minimum cut problems: /** @defgroup graph_properties Connectivity and Other Graph Properties @ingroup algs \brief Algorithms for discovering the graph properties This group contains the algorithms for discovering the graph properties like connectivity, bipartiteness, euler property, simplicity etc. \image html edge_biconnected_components.png \image latex edge_biconnected_components.eps "bi-edge-connected components" width=\textwidth */ /** @defgroup planar Planarity Embedding and Drawing @ingroup algs \brief Algorithms for planarity checking, embedding and drawing This group contains the algorithms for planarity checking, embedding and drawing. \image html planar.png \image latex planar.eps "Plane graph" width=\textwidth @defgroup min_mean_cycle Minimum Mean Cycle Algorithms @ingroup algs \brief Algorithms for finding minimum mean cycles. This group contains the algorithms for finding minimum mean cycles \ref clrs01algorithms, \ref amo93networkflows. The \e minimum \e mean \e cycle \e problem is to find a directed cycle of minimum mean length (cost) in a digraph. The mean length of a cycle is the average length of its arcs, i.e. the ratio between the total length of the cycle and the number of arcs on it. This problem has an important connection to \e conservative \e length \e functions, too. A length function on the arcs of a digraph is called conservative if and only if there is no directed cycle of negative total length. For an arbitrary length function, the negative of the minimum cycle mean is the smallest \f$\epsilon\f$ value so that increasing the arc lengths uniformly by \f$\epsilon\f$ results in a conservative length function. LEMON contains three algorithms for solving the minimum mean cycle problem: - \ref Karp "Karp"'s original algorithm \ref amo93networkflows, \ref dasdan98minmeancycle. - \ref HartmannOrlin "Hartmann-Orlin"'s algorithm, which is an improved version of Karp's algorithm \ref dasdan98minmeancycle. - \ref Howard "Howard"'s policy iteration algorithm \ref dasdan98minmeancycle. In practice, the Howard algorithm proved to be by far the most efficient one, though the best known theoretical bound on its running time is exponential. Both Karp and HartmannOrlin algorithms run in time O(ne) and use space O(n2+e), but the latter one is typically faster due to the applied early termination scheme. */ perfect fractional matching in general graphs. \image html bipartite_matching.png \image latex bipartite_matching.eps "Bipartite Matching" width=\textwidth */ /** @defgroup spantree Minimum Spanning Tree Algorithms @ingroup algs \brief Algorithms for finding minimum cost spanning trees and arborescences. This group contains the algorithms for finding minimum cost spanning trees and arborescences. \image html matching.png \image latex matching.eps "Min Cost Perfect Matching" width=\textwidth */ /** @defgroup graph_properties Connectivity and Other Graph Properties @ingroup algs \brief Algorithms for discovering the graph properties This group contains the algorithms for discovering the graph properties like connectivity, bipartiteness, euler property, simplicity etc. \image html connected_components.png \image latex connected_components.eps "Connected components" width=\textwidth */ /** @defgroup planar Planarity Embedding and Drawing @ingroup algs \brief Algorithms for planarity checking, embedding and drawing This group contains the algorithms for planarity checking, embedding and drawing. \image html planar.png \image latex planar.eps "Plane graph" width=\textwidth */ /** @defgroup approx Approximation Algorithms @ingroup algs \brief Approximation algorithms. This group contains the approximation and heuristic algorithms implemented in LEMON. */ This group contains some algorithms implemented in LEMON in order to make it easier to implement complex algorithms. */ /** @defgroup approx Approximation Algorithms @ingroup algs \brief Approximation algorithms. This group contains the approximation and heuristic algorithms implemented in LEMON. */ /** @defgroup lp_group Lp and Mip Solvers @defgroup lp_group LP and MIP Solvers @ingroup gen_opt_group \brief Lp and Mip solver interfaces for LEMON. This group contains Lp and Mip solver interfaces for LEMON. The various LP solvers could be used in the same manner with this interface. \brief LP and MIP solver interfaces for LEMON. This group contains LP and MIP solver interfaces for LEMON. Various LP solvers could be used in the same manner with this high-level interface. The currently supported solvers are \ref glpk, \ref clp, \ref cbc, \ref cplex, \ref soplex. */ /** @defgroup dimacs_group DIMACS format @defgroup dimacs_group DIMACS Format @ingroup io_group \brief Read and write files in DIMACS format \brief Skeleton and concept checking classes for graph structures This group contains the skeletons and concept checking classes of LEMON's graph structures and helper classes used to implement these. This group contains the skeletons and concept checking classes of graph structures. */ /** @defgroup tools Standalone Utility Applications Some utility applications are listed here. The standard compilation procedure (./configure;make) will compile them, as well. */ /** \anchor demoprograms */ /** @defgroup tools Standalone Utility Applications Some utility applications are listed here. The standard compilation procedure (./configure;make) will compile them, as well. */ }
• ## doc/groups.dox

 r952 problem of maximum flow. \ref Circulation is a preflow push-relabel algorithm implemented directly \ref Circulation is a preflow push-relabel algorithm implemented directly for finding feasible circulations, which is a somewhat different problem, but it is strongly related to maximum flow. Edmond's blossom shrinking algorithm for calculating maximum weighted perfect matching in general graphs. - \ref MaxFractionalMatching Push-relabel algorithm for calculating maximum cardinality fractional matching in general graphs. - \ref MaxWeightedFractionalMatching Augmenting path algorithm for calculating maximum weighted fractional matching in general graphs. - \ref MaxWeightedPerfectFractionalMatching Augmenting path algorithm for calculating maximum weighted perfect fractional matching in general graphs. \image html matching.png
• ## lemon/Makefile.am

 r948 lemon/bfs.h \ lemon/bin_heap.h \ lemon/binom_heap.h \ lemon/binomial_heap.h \ lemon/bucket_heap.h \ lemon/capacity_scaling.h \ lemon/cbc.h \ lemon/circulation.h \ lemon/concept_check.h \ lemon/connectivity.h \ lemon/core.h \ lemon/cost_scaling.h \ lemon/counter.h \ lemon/core.h \ lemon/cplex.h \ lemon/cycle_canceling.h \ lemon/dfs.h \ lemon/dheap.h \ lemon/dijkstra.h \ lemon/dim2.h \ lemon/euler.h \ lemon/fib_heap.h \ lemon/fourary_heap.h \ lemon/fractional_matching.h \ lemon/full_graph.h \ lemon/graph_to_eps.h \ lemon/grid_graph.h \ lemon/hartmann_orlin_mmc.h \ lemon/howard_mmc.h \ lemon/hypercube_graph.h \ lemon/kary_heap.h \ lemon/karp_mmc.h \ lemon/kruskal.h \ lemon/hao_orlin.h \ lemon/pairing_heap.h \ lemon/path.h \ lemon/planarity.h \ lemon/preflow.h \ lemon/quad_heap.h \ lemon/radix_heap.h \ lemon/radix_sort.h \ lemon/smart_graph.h \ lemon/soplex.h \ lemon/static_graph.h \ lemon/suurballe.h \ lemon/time_measure.h \
• ## lemon/Makefile.am

 r942 lemon/euler.h \ lemon/fib_heap.h \ lemon/fractional_matching.h \ lemon/full_graph.h \ lemon/glpk.h \
• ## test/CMakeLists.txt

 r948 min_cost_arborescence_test min_cost_flow_test min_mean_cycle_test path_test planarity_test preflow_test radix_sort_test
• ## test/CMakeLists.txt

 r863 error_test euler_test fractional_matching_test gomory_hu_test graph_copy_test
• ## test/Makefile.am

 r948 if USE_VALGRIND TESTS_ENVIRONMENT=\$(top_srcdir)/scripts/valgrind-wrapper.sh endif EXTRA_DIST += \ test/CMakeLists.txt test/min_cost_arborescence_test \ test/min_cost_flow_test \ test/min_mean_cycle_test \ test/path_test \ test/planarity_test \ test/preflow_test \ test/radix_sort_test \ test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc test_min_cost_flow_test_SOURCES = test/min_cost_flow_test.cc test_min_mean_cycle_test_SOURCES = test/min_mean_cycle_test.cc test_path_test_SOURCES = test/path_test.cc test_planarity_test_SOURCES = test/planarity_test.cc test_preflow_test_SOURCES = test/preflow_test.cc test_radix_sort_test_SOURCES = test/radix_sort_test.cc
• ## test/Makefile.am

 r863 test/error_test \ test/euler_test \ test/fractional_matching_test \ test/gomory_hu_test \ test/graph_copy_test \ test_error_test_SOURCES = test/error_test.cc test_euler_test_SOURCES = test/euler_test.cc test_fractional_matching_test_SOURCES = test/fractional_matching_test.cc test_gomory_hu_test_SOURCES = test/gomory_hu_test.cc test_graph_copy_test_SOURCES = test/graph_copy_test.cc
Note: See TracChangeset for help on using the changeset viewer.