demo/route.lgf
author deba
Mon, 03 Apr 2006 09:45:23 +0000
changeset 2031 080d51024ac5
parent 1530 d99c3c84f797
permissions -rw-r--r--
Correcting the structure of the graph's and adaptor's map.
The template assign operators and map iterators can be used for adaptors also.

Some bugfix in the adaptors

New class SwapBpUGraphAdaptor which swaps the two nodeset of the graph.
deba@1342
     1
@nodeset
deba@1901
     2
label	coordinates_x	coordinates_y	
deba@1358
     3
9	447.907	578.328	
deba@1358
     4
8	79.2573	909.464	
deba@1358
     5
7	878.677	960.04	
deba@1358
     6
6	11.5504	938.413	
deba@1358
     7
5	327.398	815.035	
deba@1358
     8
4	427.002	954.002	
deba@1358
     9
3	148.549	753.748	
deba@1358
    10
2	903.889	326.476	
deba@1358
    11
1	408.248	577.327	
deba@1358
    12
0	189.239	92.5316	
deba@1342
    13
@edgeset
deba@1901
    14
		length	label	
athos@1530
    15
2	3	901.074	0	
athos@1530
    16
8	5	270.85	1	
athos@1530
    17
6	9	601.553	2	
athos@1530
    18
5	9	285.022	3	
athos@1530
    19
9	4	408.091	4	
athos@1530
    20
3	0	719.712	5	
athos@1530
    21
7	5	612.836	6	
athos@1530
    22
0	4	933.353	7	
athos@1530
    23
5	0	778.871	8	
athos@1530
    24
5	5	0	9	
athos@1530
    25
7	1	664.049	10	
athos@1530
    26
5	5	0	11	
athos@1530
    27
0	9	560.464	12	
athos@1530
    28
4	8	352.36	13	
athos@1530
    29
4	9	399.625	14	
athos@1530
    30
4	1	402.171	15	
athos@1530
    31
1	2	591.688	16	
athos@1530
    32
3	8	182.376	17	
athos@1530
    33
4	5	180.254	18	
athos@1530
    34
3	1	345.283	19	
athos@1530
    35
5	4	184.511	20	
athos@1530
    36
6	2	1112.45	21	
athos@1530
    37
0	1	556.624	22	
deba@1342
    38
@nodes
deba@1358
    39
source	1	
deba@1358
    40
target	8	
athos@1530
    41
@edges 
athos@1530
    42
@attributes 
deba@1342
    43
@end