src/demo/sub_graph_adaptor_demo.dim
author deba
Thu, 19 May 2005 11:49:42 +0000
changeset 1429 4283998fb2be
parent 922 e816fac59f6d
permissions -rw-r--r--
Able to read edge from undirected edgeset
Graph reader and graph writer can resolve items by id.

It makes possible:

GraphReader<Graph> reader(std::cin, graph);

reader.readNodeMap....

NewEdgeSetAdaptor<Graph> edgeset(graph);
UndirEdgeSetReader<Graph> unir_edgeset_reader(reader, edgeset, reader);

reader.run();

It reads the graph and an additional edgeset in to the edgeset.
     1 c LEMON max flow problem
     2 p max 7 9
     3 n 1 s
     4 n 7 t
     5 a 1 2 3
     6 a 1 3 2
     7 a 1 4 1
     8 a 2 5 3
     9 a 3 5 2
    10 a 3 7 5
    11 a 3 6 3
    12 a 4 6 1
    13 a 5 7 2
    14 a 6 7 4