-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample_input2.json
More file actions
94 lines (93 loc) · 2.55 KB
/
sample_input2.json
File metadata and controls
94 lines (93 loc) · 2.55 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"variables_used":[
"x","y","z","w","a","b","u","v","c"
],
"program_type":[
"probabilistic"
],
"P":[
"4*x+1000000000000"
],
"Q":{
"T1":[
{
"instruction_type":"assignment",
"lhs":"x",
"rhs":"x",
"previous_possible_instructions":[-1]
},
{
"instruction_type":"assignment",
"lhs":"a",
"rhs":"x+100",
"previous_possible_instructions":[0]
},
{
"instruction_type":"assignment",
"lhs":"y",
"rhs":"2*a+8",
"previous_possible_instructions":[1]
},
{
"instruction_type":"condition_on_prob",
"probability":"1/4",
"previous_possible_instructions":[2]
},
{
"instruction_type":"assignment",
"lhs":"u",
"rhs":"3*y+6",
"previous_possible_instructions":[3]
},
{
"instruction_type":"assignment",
"lhs":"u",
"rhs":"2*y+4",
"previous_possible_instructions":[3]
},
{
"instruction_type":"assignment",
"lhs":"u",
"rhs":"u+5",
"previous_possible_instructions":[4,5],
"branch_starts":[4,5]
},
{
"instruction_type":"demonic_choice",
"previous_possible_instructions":[6]
},
{
"instruction_type":"assignment",
"lhs":"u",
"rhs":"u+4",
"previous_possible_instructions":[7]
},
{
"instruction_type":"assignment",
"lhs":"u",
"rhs":"u+7",
"previous_possible_instructions":[7]
},
{
"instruction_type":"assignment",
"lhs":"u",
"rhs":"u",
"previous_possible_instructions":[8,9],
"branch_starts":[8,9]
}
],
"T2":[
{
"instruction_type":"assignment",
"lhs":"b",
"rhs":"z+200"
},
{
"instruction_type":"assignment",
"lhs":"w",
"rhs":"100*z+5"
}
]
},
"R":"u+w"
}