src/work/deba/test.lgf
author deba
Wed, 09 Mar 2005 14:15:22 +0000
changeset 1208 f486d30e4e7b
parent 1036 2f514b5c7122
child 1210 f02396423239
permissions -rw-r--r--
Easy input-output function for common graphs.
Modified Exception handling in graph_reader.
     1 @nodeset
     2 id cost color description mmap
     3 1 1 green "A -> B \t: 10" a
     4 2 2 blue "A -> B \t: 10" b
     5 # hatalom dicsoseg "A -> B \t: 10" c
     6 3 1 red "A -> B \t: 10" d #adjkhj
     7 4 2 red "A -> B \t: 10" e
     8 5 1 green "A -> B \t: 10" f
     9 10 1 green "A -> B \t: 10" g
    10     # hello - bello csucsok "A -> B \t: 10"
    11 6 2 blue "A -> B \t: 10" h
    12 7 1 blue "A -> B \t: 10" i
    13 8 2 red "A -> B \t: 10" j
    14 9 1 green "A -> B \t: 10" k
    15 
    16 @edgeset 
    17 		id	weight 	description		mmap
    18 1	4	1	10 	"A -> B \t: 101"	a
    19 3 	5	5	29 	"A -> B \t: 10q"	b
    20 3	4	2	92 	"A -> B \t: 10a"	c
    21 2	3	6	92	"A -> B \t: 10d"	d
    22 6	5	9  	49	"A -> B \t: 10c"	e
    23 10	4	3	40	"A -> B \t: 10v"	f
    24 1	3	8	84	"A -> B \t: 10g"	g
    25   #
    26  # kajla
    27 6	7	4	83 	"A -> B \t: 10h"	h
    28 8	9	7	37 	"A -> B \t: 10j"	i
    29 7	8	10	12 	"A -> B \t: 10g"	j
    30 
    31 @nodes
    32 source 1
    33 target 7
    34 
    35 @edges
    36 newedge 7
    37 
    38 @end