demo/simann_maxcut_demo.lgf
author deba
Wed, 06 Sep 2006 11:17:12 +0000
changeset 2205 c20b0eb92a33
permissions -rw-r--r--
UnionFind
Changing the representation of the union-find
it has the same running time but it takes just 2/3 space
! does not auto insert items /performance/

UnionFindEnum
Changing the interface - more convenient to UnionFind
Does not based on the stl data structures /it could be disadvantage/
=> does not use singular iterator assignment /not stl conform, but always work/
Just new iterator interface

MaxMatching + UnionFindTest
Using new iterator interface instead of the old
     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