demo/simann_maxcut_demo.lgf
author deba
Tue, 31 Jan 2006 20:14:52 +0000
changeset 1934 272fa8a0b680
permissions -rw-r--r--
Bug fix

ANodeIt/BNodeIt should not be inherited from ANode/BNode

The reason:
assert(graph.id(ANodeIt(graph)) == graph.id((Node)ANodeIt(graph)));
     1 @nodeset
     2 label
     3 0
     4 1
     5 2
     6 3
     7 4
     8 5
     9 6
    10 @edgeset
    11         weight
    12 0   3   1
    13 0   4   1
    14 1   5   1
    15 5   2   1
    16 6   2   1
    17 0   1   1
    18 2   1   1
    19 3   4   1
    20 4   5   1
    21 5   6   1
    22 @end