Doc fixes for lgf-gen (#282)
authorPeter Kovacs <kpeter@inf.elte.hu>
Fri, 08 May 2009 13:15:29 +0200
changeset 652a312f84d86c6
parent 651 682941948726
child 653 c706534d4740
Doc fixes for lgf-gen (#282)
tools/lgf-gen.cc
     1.1 --- a/tools/lgf-gen.cc	Thu May 07 12:21:00 2009 +0100
     1.2 +++ b/tools/lgf-gen.cc	Fri May 08 13:15:29 2009 +0200
     1.3 @@ -18,7 +18,7 @@
     1.4  
     1.5  /// \ingroup tools
     1.6  /// \file
     1.7 -/// \brief Special plane digraph generator.
     1.8 +/// \brief Special plane graph generator.
     1.9  ///
    1.10  /// Graph generator application for various types of plane graphs.
    1.11  ///
    1.12 @@ -26,7 +26,7 @@
    1.13  /// \code
    1.14  ///   lgf-gen --help
    1.15  /// \endcode
    1.16 -/// for more info on the usage.
    1.17 +/// for more information on the usage.
    1.18  
    1.19  #include <algorithm>
    1.20  #include <set>
    1.21 @@ -686,20 +686,21 @@
    1.22      .intOption("g", "Girth parameter (default is 10)", 10)
    1.23      .refOption("cities", "Number of cities (default is 1)", num_of_cities)
    1.24      .refOption("area", "Full relative area of the cities (default is 1)", area)
    1.25 -    .refOption("disc", "Nodes are evenly distributed on a unit disc (default)",disc_d)
    1.26 +    .refOption("disc", "Nodes are evenly distributed on a unit disc (default)",
    1.27 +               disc_d)
    1.28      .optionGroup("dist", "disc")
    1.29 -    .refOption("square", "Nodes are evenly distributed on a unit square", square_d)
    1.30 +    .refOption("square", "Nodes are evenly distributed on a unit square",
    1.31 +               square_d)
    1.32      .optionGroup("dist", "square")
    1.33 -    .refOption("gauss",
    1.34 -            "Nodes are located according to a two-dim gauss distribution",
    1.35 -            gauss_d)
    1.36 +    .refOption("gauss", "Nodes are located according to a two-dim Gauss "
    1.37 +               "distribution", gauss_d)
    1.38      .optionGroup("dist", "gauss")
    1.39 -//     .mandatoryGroup("dist")
    1.40      .onlyOneGroup("dist")
    1.41 -    .boolOption("eps", "Also generate .eps output (prefix.eps)")
    1.42 -    .boolOption("nonodes", "Draw the edges only in the generated .eps")
    1.43 -    .boolOption("dir", "Directed digraph is generated (each arcs are replaced by two directed ones)")
    1.44 -    .boolOption("2con", "Create a two connected planar digraph")
    1.45 +    .boolOption("eps", "Also generate .eps output (<prefix>.eps)")
    1.46 +    .boolOption("nonodes", "Draw only the edges in the generated .eps output")
    1.47 +    .boolOption("dir", "Directed graph is generated (each edge is replaced by "
    1.48 +                "two directed arcs)")
    1.49 +    .boolOption("2con", "Create a two connected planar graph")
    1.50      .optionGroup("alg","2con")
    1.51      .boolOption("tree", "Create a min. cost spanning tree")
    1.52      .optionGroup("alg","tree")
    1.53 @@ -707,7 +708,7 @@
    1.54      .optionGroup("alg","tsp")
    1.55      .boolOption("tsp2", "Create a TSP tour (tree based)")
    1.56      .optionGroup("alg","tsp2")
    1.57 -    .boolOption("dela", "Delaunay triangulation digraph")
    1.58 +    .boolOption("dela", "Delaunay triangulation graph")
    1.59      .optionGroup("alg","dela")
    1.60      .onlyOneGroup("alg")
    1.61      .boolOption("rand", "Use time seed for random number generator")