Changeset 654:a312f84d86c6 in lemon-main
- Timestamp:
- 05/08/09 13:15:29 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/lgf-gen.cc
r623 r654 19 19 /// \ingroup tools 20 20 /// \file 21 /// \brief Special plane digraph generator.21 /// \brief Special plane graph generator. 22 22 /// 23 23 /// Graph generator application for various types of plane graphs. … … 27 27 /// lgf-gen --help 28 28 /// \endcode 29 /// for more info on the usage.29 /// for more information on the usage. 30 30 31 31 #include <algorithm> … … 687 687 .refOption("cities", "Number of cities (default is 1)", num_of_cities) 688 688 .refOption("area", "Full relative area of the cities (default is 1)", area) 689 .refOption("disc", "Nodes are evenly distributed on a unit disc (default)",disc_d) 689 .refOption("disc", "Nodes are evenly distributed on a unit disc (default)", 690 disc_d) 690 691 .optionGroup("dist", "disc") 691 .refOption("square", "Nodes are evenly distributed on a unit square", square_d) 692 .refOption("square", "Nodes are evenly distributed on a unit square", 693 square_d) 692 694 .optionGroup("dist", "square") 693 .refOption("gauss", 694 "Nodes are located according to a two-dim gauss distribution", 695 gauss_d) 695 .refOption("gauss", "Nodes are located according to a two-dim Gauss " 696 "distribution", gauss_d) 696 697 .optionGroup("dist", "gauss") 697 // .mandatoryGroup("dist")698 698 .onlyOneGroup("dist") 699 .boolOption("eps", "Also generate .eps output (prefix.eps)") 700 .boolOption("nonodes", "Draw the edges only in the generated .eps") 701 .boolOption("dir", "Directed digraph is generated (each arcs are replaced by two directed ones)") 702 .boolOption("2con", "Create a two connected planar digraph") 699 .boolOption("eps", "Also generate .eps output (<prefix>.eps)") 700 .boolOption("nonodes", "Draw only the edges in the generated .eps output") 701 .boolOption("dir", "Directed graph is generated (each edge is replaced by " 702 "two directed arcs)") 703 .boolOption("2con", "Create a two connected planar graph") 703 704 .optionGroup("alg","2con") 704 705 .boolOption("tree", "Create a min. cost spanning tree") … … 708 709 .boolOption("tsp2", "Create a TSP tour (tree based)") 709 710 .optionGroup("alg","tsp2") 710 .boolOption("dela", "Delaunay triangulation digraph")711 .boolOption("dela", "Delaunay triangulation graph") 711 712 .optionGroup("alg","dela") 712 713 .onlyOneGroup("alg")
Note: See TracChangeset
for help on using the changeset viewer.