Changeset 2491:b63ae56979ef in lemon-0.x
- Timestamp:
- 10/09/07 19:11:42 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3330
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/groups.dox
r2489 r2491 494 494 */ 495 495 496 /** 497 @defgroup tools Standalone utility applications 498 499 Some utility applications are listed here. 500 501 The standard compilation procedure (<tt>./configure;make</tt>) will compile 502 them, as well. 503 504 */ 505 -
tools/dim_to_lgf.cc
r2417 r2491 17 17 */ 18 18 19 ///\ingroup demos19 ///\ingroup tools 20 20 ///\file 21 21 ///\brief DIMACS to LGF converter. … … 24 24 /// (LGF). 25 25 /// 26 /// \include dim_to_lgf.cc 26 ///\verbatim 27 ///Usage: 28 /// ./tools/dim_to_lgf 29 /// --mincostflow|-mcf|--maxflow|-mf|--shortestpath|-sp|--capacitated|-cap|--plain|-pl 30 /// [--help|-h|-help] [--input|-i str] [--output|-o str] [--version|-v] 31 ///Where: 32 /// --capacitated|-cap 33 /// set the type of the graph to "capacitated" graph 34 /// --help|-h|-help 35 /// Print a short help message 36 /// --input|-i str 37 /// use FILE as input instead of standard input 38 /// --maxflow|-mf 39 /// set the type of the graph to "maxflow" graph 40 /// --mincostflow|-mcf 41 /// set the type of the graph to "mincostflow" graph 42 /// --output|-o str 43 /// use FILE as output instead of standard output 44 /// --plain|-pl 45 /// set the type of the graph to "plain" graph 46 /// --shortestpath|-sp 47 /// set the type of the graph to "shortestpath" graph 48 /// --version|-v 49 /// show version information 50 ///\endverbatim 51 /// 27 52 28 53 #include <iostream> -
tools/lgf-gen.cc
r2453 r2491 16 16 * 17 17 */ 18 ///\ingroup tools 19 ///\file 20 ///\brief Special plane graph generator. 21 /// 22 ///Graph generator application for various types of plane graphs. 23 /// 24 ///\verbatim 25 /// This program converts various DIMACS formats to the LEMON Graph Format 26 /// (LGF). 27 /// 28 /// Usage: 29 /// ./tools/lgf-gen [-2con|-tree|-tsp|-tsp2|-dela] [-disc|-square|-gauss] 30 /// [-rand|-seed int] [--help|-h|-help] [-area num] [-cities int] [-dir] 31 /// [-eps] [-g int] [-n int] [prefix] 32 /// Where: 33 /// [prefix] 34 /// Prefix of the output files. Default is 'lgf-gen-out' 35 /// --help|-h|-help 36 /// Print a short help message 37 /// -2con 38 /// Create a two connected planar graph 39 /// -area num 40 /// Full relative area of the cities (default is 1) 41 /// -cities int 42 /// Number of cities (default is 1) 43 /// -dela 44 /// Delaunay triangulation graph 45 /// -dir 46 /// Directed graph is generated (each edges are replaced by two directed ones) 47 /// -disc 48 /// Nodes are evenly distributed on a unit disc (default) 49 /// -eps 50 /// Also generate .eps output (prefix.eps) 51 /// -g int 52 /// Girth parameter (default is 10) 53 /// -gauss 54 /// Nodes are located according to a two-dim gauss distribution 55 /// -n int 56 /// Number of nodes (default is 100) 57 /// -rand 58 /// Use time seed for random number generator 59 /// -seed int 60 /// Random seed 61 /// -square 62 /// Nodes are evenly distributed on a unit square 63 /// -tree 64 /// Create a min. cost spanning tree 65 /// -tsp 66 /// Create a TSP tour 67 /// -tsp2 68 /// Create a TSP tour (tree based) 69 ///\endverbatim 70 /// \image html plane_tree.png 71 /// \image latex plane_tree.eps "Eucledian spanning tree" width=\textwidth 72 /// 73 18 74 19 75 #include <lemon/list_graph.h>
Note: See TracChangeset
for help on using the changeset viewer.