demo/simann_maxcut_demo.lgf
author kpeter
Wed, 05 Dec 2007 13:03:19 +0000
changeset 2535 716024e7c080
permissions -rw-r--r--
Redesigned CapacityScaling algorithm with almost the same interface.
The new version does not use the ResidualGraphAdaptor for performance reasons.
Scaling can be enabled and disabled with a parameter of the run() function.
     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