demo/simann_maxcut_demo.lgf
author deba
Mon, 19 Jun 2006 13:44:06 +0000
changeset 2101 439b7f21ccc4
permissions -rw-r--r--
Improvement:

The item sets are written in the order sorted by the labels.

It solves the problem if we read a graph from a file and
then write it back then the nodes will be reversed.
It can be switched off with the LemonWriter interface.
     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