COIN-OR::LEMON - Graph Library

Changeset 1839:b2dfd32b4895 in lemon-0.x for doc/graph_io.dox


Ignore:
Timestamp:
11/30/05 14:24:37 (15 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2392
Message:

Some bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/graph_io.dox

    r1788 r1839  
    443443\code
    444444UndirListGraph network;
    445 UndirListGraph::UndirEdgeSet<double> capacity;
     445UndirListGraph::UndirEdgeMap<double> capacity;
    446446NewEdgeSetAdaptor<UndirListGraph> traffic(network);
    447447NewEdgeSetAdaptor<UndirListGraph>::EdgeSet<double> request(network);
    448448
    449449LemonReader reader(std::cin);
    450 NodeSetReader nodesetReader(reader, network);
    451 UndirEdgeSetReader undirEdgesetReader(reader, network, nodesetReader);
     450NodeSetReader<UndirListGraph> nodesetReader(reader, network);
     451UndirEdgeSetReader<UndirListGraph>
     452  undirEdgesetReader(reader, network, nodesetReader);
    452453undirEdgesetReader.readEdgeMap("capacity", capacity);
    453 EdgeSetReader edgesetReader(reader, traffic, nodesetReader);
     454EdgeSetReader<NewEdgeSetAdaptor<UndirListGraph> >
     455  edgesetReader(reader, traffic, nodesetReader);
    454456edgesetReader.readEdgeMap("request", request);
    455457
Note: See TracChangeset for help on using the changeset viewer.