COIN-OR::LEMON - Graph Library

Changeset 128:7cd965d2257f in lemon-main


Ignore:
Timestamp:
04/03/08 12:10:49 (17 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Port graph_to_eps() and Color from svn -r3482.

Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • .hgignore

    r111 r128  
    2525.libs/*
    2626.deps/*
     27demo/*.eps
    2728
    2829syntax: regexp
  • demo/Makefile.am

    r85 r128  
    55
    66noinst_PROGRAMS += \
    7         demo/arg_parser_demo
     7        demo/arg_parser_demo \
     8        demo/graph_to_eps_demo
    89
    910endif WANT_DEMO
     
    1112demo_arg_parser_demo_SOURCES = demo/arg_parser_demo.cc
    1213
     14demo_graph_to_eps_demo_SOURCES = demo/graph_to_eps_demo.cc
     15
  • demo/arg_parser_demo.cc

    r88 r128  
    3838  ap.refOption("n", "An integer input.", i, true)
    3939    .refOption("val", "A double input.", d)
     40    .doubleOption("val2", "A double input.", d)
    4041    .synonym("vals","val")
    4142    .refOption("name", "A string input.", s)
     
    4647    .refOption("grc","Choice C",g3)
    4748    .optionGroup("gr","gra")
    48     .optionGroup("gr","grb")
     49    .optionGroup("gr","grbkk")
    4950    .optionGroup("gr","grc")
    5051    .mandatoryGroup("gr")
  • lemon/Makefile.am

    r109 r128  
    1010        lemon/arg_parser.cc \
    1111        lemon/base.cc \
     12        lemon/color.cc \
    1213        lemon/random.cc
    1314
     
    2122        lemon/bfs.h \
    2223        lemon/bin_heap.h \
     24        lemon/color.h \
    2325        lemon/dfs.h \
    2426        lemon/dijkstra.h \
    2527        lemon/dim2.h \
    2628        lemon/error.h \
     29        lemon/graph_to_eps.h \
    2730        lemon/graph_utils.h \
    2831        lemon/kruskal.h \
     
    4043        lemon/bits/array_map.h \
    4144        lemon/bits/base_extender.h \
     45        lemon/bits/bezier.h \
    4246        lemon/bits/default_map.h \
    4347        lemon/bits/graph_extender.h \
  • lemon/arg_parser.cc

    r88 r128  
    195195    Opts::iterator i = _opts.find(opt);
    196196    LEMON_ASSERT(i!=_opts.end(), "Unknown option: '"+opt+"'");
     197    if(i==_opts.end()) std::cout << "JAJJJJJJJJ\n";
    197198    LEMON_ASSERT(!(i->second.ingroup),
    198199                 "Option already in option group: '"+opt+"'");
Note: See TracChangeset for help on using the changeset viewer.