test/preflow_graph.lgf
author Peter Kovacs <kpeter@inf.elte.hu>
Fri, 12 Dec 2008 22:59:17 +0100
changeset 472 91fcb8ed4cdc
parent 404 660db48f324f
permissions -rw-r--r--
Various bug fixes and code improvements in adaptors.h (#67)

- Fix UndirectorBase::nodeNum().
- Fix UndirectorBase::findEdge().
- Fix OrienterBase::addArc().
- Fix OrienterBase::findArc().
- Improve SplitNodesBase::findArc().
- Add missing notifier() function in UndirectorBase.
- Add missing typedefs for maps (conform to the ReferenceMap concept).
- Add some useful typedefs for graph adaptors.
     1 @nodes
     2 label
     3 0
     4 1
     5 2
     6 3
     7 4
     8 5
     9 6
    10 7
    11 8
    12 9
    13 @arcs
    14 		label	capacity
    15 0	1	0	20
    16 0	2	1	0
    17 1	1	2	3
    18 1	2	3	8
    19 1	3	4	8
    20 2	5	5	5
    21 3	2	6	5
    22 3	5	7	5
    23 3	6	8	5
    24 4	3	9	3
    25 5	7	10	3
    26 5	6	11	10
    27 5	8	12	10
    28 6	8	13	8
    29 8	9	14	20
    30 8	1	15	5
    31 9	5	16	5
    32 @attributes
    33 source 1
    34 target 8