demo/sub_gad_input.lgf
author deba
Mon, 19 Jun 2006 13:44:06 +0000
changeset 2101 439b7f21ccc4
parent 1577 15098fb5275c
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.
athos@1577
     1
@nodeset 
deba@1901
     2
label
athos@1577
     3
6
athos@1577
     4
5
athos@1577
     5
4
athos@1577
     6
3
athos@1577
     7
2
athos@1577
     8
1
athos@1577
     9
0
athos@1577
    10
@edgeset 
deba@1901
    11
                label      length
athos@1577
    12
5       6       9       4
athos@1577
    13
4       6       8       2
athos@1577
    14
3       5       7       1
athos@1577
    15
2       5       6       3
athos@1577
    16
2       6       5       5
athos@1577
    17
2       4       4       2
athos@1577
    18
1       4       3       3
athos@1577
    19
0       3       2       1
athos@1577
    20
0       2       1       2
athos@1577
    21
0       1       0       3
athos@1577
    22
@nodes 
athos@1577
    23
source 0
athos@1577
    24
target 6
athos@1577
    25
@edges 
athos@1577
    26
@attributes 
athos@1577
    27
@end