File: lv.gr

package info (click to toggle)
algotutor 0.8.6-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 640 kB
  • sloc: perl: 2,563; makefile: 41; php: 24; sh: 1
file content (49 lines) | stat: -rw-r--r-- 892 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# vim: syntax=perl

# Ronald L. Rardin. "Optimizations in Operations Research"
# p.410 "Littleville"

{
"-name" => "Littleville",
-type => "graph",
-linear_transform => {
    -scale => [1, -1],
    -offset => [0, 300],
},
-directed => 1,

-init_data => {
    x1 => { -pos => [ 30,270],
	x2 => 12
    },
    x2 => { -pos => [ 30,180],
	x3 => 18, x6 => 32
    },
    x3 => { -pos => [ 30, 90],
	x4 => 13, x7 => 30
    },
    x4 => { -pos => [ 30, 30],
	xa => 38
    },
    x5 => { -pos => [120,270],
	x1 => 20, x6 => 18
    },
    x6 => { -pos => [120,210],
	x2 => 32, x5 => 18, x7 => 28, x9 => 25
    },
    x7 => { -pos => [120, 90],
	x3 => 30, x6 => 28, x9 => 21, xa => 49
    },
    x8 => { -pos => [210,270],
	x5 => 18, x9 => 36
    },
    x9 => { -pos => [210,150],
	x6 => 25, x7 => 21, x8 => 36, xa => 40
    },
    xa => { -pos => [270, 30],
	x7 => 49, x8 => 28, x9 => 40
    },
},

}