demo/simann_maxcut_demo.lgf
author deba
Tue, 17 Oct 2006 11:01:16 +0000
changeset 2248 1ac928089d68
permissions -rw-r--r--
SimpleMap and SimpleWriteMap
- Trivial adaptors, but they are useful in some case

Some combined maps will be reference map if the first
template parameter map is reference map or not. If I want
to give a refernce map as first map but there is a non
reference map parameter then I should wrap my first map
to a regular read-write map.
     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