COIN-OR::LEMON - Graph Library

Changeset 1842:8abf74160dc4 in lemon-0.x for doc


Ignore:
Timestamp:
12/01/05 16:08:46 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2396
Message:

NewEdgeSetAdaptor? -> ListEdgeSet?
and moved to edge_set.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/graph_io.dox

    r1839 r1842  
    438438In our example there is a network with symmetric links and there are assymetric
    439439traffic request on the network. This construction can be stored in an
    440 undirected graph and in a directed \c NewEdgeSetAdaptor class. The example
     440undirected graph and in a directed \c ListEdgeSet class. The example
    441441shows the input with the \ref lemon::LemonReader "LemonReader" class:
    442442
     
    444444UndirListGraph network;
    445445UndirListGraph::UndirEdgeMap<double> capacity;
    446 NewEdgeSetAdaptor<UndirListGraph> traffic(network);
    447 NewEdgeSetAdaptor<UndirListGraph>::EdgeSet<double> request(network);
     446ListEdgeSet<UndirListGraph> traffic(network);
     447ListEdgeSet<UndirListGraph>::EdgeMap<double> request(network);
    448448
    449449LemonReader reader(std::cin);
     
    452452  undirEdgesetReader(reader, network, nodesetReader);
    453453undirEdgesetReader.readEdgeMap("capacity", capacity);
    454 EdgeSetReader<NewEdgeSetAdaptor<UndirListGraph> >
     454EdgeSetReader<ListEdgeSet<UndirListGraph> >
    455455  edgesetReader(reader, traffic, nodesetReader);
    456456edgesetReader.readEdgeMap("request", request);
     
    470470UndirListGraph network;
    471471UndirListGraph::UndirEdgeSet<double> capacity;
    472 NewEdgeSetAdaptor<UndirListGraph> traffic(network);
    473 NewEdgeSetAdaptor<UndirListGraph>::EdgeSet<double> request(network);
    474 
    475 UndirGraphReader reader(std::cin, network);
     472ListEdgeSet<UndirListGraph> traffic(network);
     473ListEdgeSet<UndirListGraph>::EdgeMap<double> request(network);
     474
     475UndirGraphReader<UndirListGraph> reader(std::cin, network);
    476476reader.readEdgeMap("capacity", capacity);
    477 EdgeSetReader edgesetReader(reader, traffic, reader);
     477EdgeSetReader<ListEdgeSet<UndirListGraph> >
     478  edgesetReader(reader, traffic, reader);
    478479edgesetReader.readEdgeMap("request", request);
    479480
Note: See TracChangeset for help on using the changeset viewer.