COIN-OR::LEMON - Graph Library

Ticket #282: 282-a312f84d86c6.patch

File 282-a312f84d86c6.patch, 2.8 KB (added by Peter Kovacs, 15 years ago)
  • tools/lgf-gen.cc

    # HG changeset patch
    # User Peter Kovacs <kpeter@inf.elte.hu>
    # Date 1241781329 -7200
    # Node ID a312f84d86c660bb4db35514d3d8c7b2107df7e2
    # Parent  682941948726dc7a2dbb9dce183ba66c9bde940f
    Doc fixes for lgf-gen (#282)
    
    diff --git a/tools/lgf-gen.cc b/tools/lgf-gen.cc
    a b  
    1818
    1919/// \ingroup tools
    2020/// \file
    21 /// \brief Special plane digraph generator.
     21/// \brief Special plane graph generator.
    2222///
    2323/// Graph generator application for various types of plane graphs.
    2424///
     
    2626/// \code
    2727///   lgf-gen --help
    2828/// \endcode
    29 /// for more info on the usage.
     29/// for more information on the usage.
    3030
    3131#include <algorithm>
    3232#include <set>
     
    686686    .intOption("g", "Girth parameter (default is 10)", 10)
    687687    .refOption("cities", "Number of cities (default is 1)", num_of_cities)
    688688    .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)
    690691    .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)
    692694    .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)
    696697    .optionGroup("dist", "gauss")
    697 //     .mandatoryGroup("dist")
    698698    .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")
    703704    .optionGroup("alg","2con")
    704705    .boolOption("tree", "Create a min. cost spanning tree")
    705706    .optionGroup("alg","tree")
     
    707708    .optionGroup("alg","tsp")
    708709    .boolOption("tsp2", "Create a TSP tour (tree based)")
    709710    .optionGroup("alg","tsp2")
    710     .boolOption("dela", "Delaunay triangulation digraph")
     711    .boolOption("dela", "Delaunay triangulation graph")
    711712    .optionGroup("alg","dela")
    712713    .onlyOneGroup("alg")
    713714    .boolOption("rand", "Use time seed for random number generator")