COIN-OR::LEMON - Graph Library

Changeset 180:95f0c5f3fc70 in lemon-0.x


Ignore:
Timestamp:
03/12/04 21:09:35 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@256
Message:

.

Location:
src/work/marci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/dimacs.h

    r174 r180  
    1919    std::string str;
    2020    int n, m;
     21    typename Graph::Edge e;
    2122    std::vector<typename Graph::Node> nodes;
    2223    while (is>>c) {
     
    5051        is >> i >> j >> cap;
    5152        getline(is, str);
    52         typename Graph::Edge e=G.addEdge(nodes[i], nodes[j]);
     53        e=G.addEdge(nodes[i], nodes[j]);
    5354        capacity.update();
    5455        capacity.set(e, cap);
  • src/work/marci/makefile

    r176 r180  
    1 CXX3 = g++-3.0
     1#CXX3 = g++-3.0
    22CXX2 = g++-2.95
    3 CXX3.3 = g++
    4 CXXFLAGS = -W -Wall -ansi -pedantic -I. -I.. -I../alpar
     3#CXX3.3 = g++
     4CXX3 := $(shell type -p g++-3.3 || type -p g++-3.2 || type -p g++-3.0 || type -p g++-3 || echo g++)
     5#CXXFLAGS = -W -Wall -ansi -pedantic -I. -I.. -I../alpar
    56LEDAROOT ?= /ledasrc/LEDA-4.1
     7BOOSTROOT ?= /home/marci/boost
     8INCLUDEDIRS ?= -I../../include -I.. -I. -I../{marci,jacint,alpar,klao,akos,athos} -I$(LEDAROOT)/incl -I$(BOOSTROOT)
     9CXXFLAGS = -g -O -W -Wall $(INCLUDEDIRS) -ansi -pedantic
    610
    7 BINARIES = edmonds_karp_demo edmonds_karp_demo_alpar preflow_demo_leda preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos lg_vs_sg
     11
     12BINARIES = edmonds_karp_demo preflow_demo_leda lg_vs_sg leda_graph_demo
     13#preflow_demo_boost edmonds_karp_demo_boost preflow_demo_jacint preflow_demo_athos edmonds_karp_demo_alpar
    814
    915all: $(BINARIES)
    1016
    1117.depend dep depend:
    12         -g++-2.95 -I. -I.. -I$(LEDAROOT)/incl -I/home/marci/boost -M *.cc > .depend 2>/dev/null
     18        -g++ $(INCLUDEDIRS) -M $(BINARIES:=.cc) > .depend #2>/dev/null
     19
    1320
    1421
    1522makefile: .depend
    1623sinclude .depend
     24
     25leda_graph_demo.o:
     26        $(CXX3) -Wall -O0 -I.. -I../alpar -I$(LEDAROOT)/incl -I. -c leda_graph_demo.cc
     27
     28leda_graph_demo: leda_graph_demo.o
     29        $(CXX3) -Wall -O0 -L$(LEDAROOT) -o leda_graph_demo leda_graph_demo.o -lG -lL -lm
    1730
    1831edmonds_karp_demo:
     
    3043
    3144preflow_demo_leda_uj:
    32         $(CXX3.3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm
     45        $(CXX3) -Wall -O3 -I$(LEDAROOT)/incl -I. -L$(LEDAROOT) -o preflow_demo_leda_uj preflow_demo_leda_uj.cc -lG -lL -lm
    3346
    3447preflow_demo_boost:
Note: See TracChangeset for help on using the changeset viewer.