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