written-binary-maze-solver / checkpoint.json
ScAGI's picture
Publish hand-written binary maze solver and CUDA benchmark
81dfd31 verified
Raw History Blame Contribute Delete
4.53 kB
{
"format": "sg-maze-signed-threshold-v1",
"offsets": [
[
-1,
0
],
[
0,
1
],
[
1,
0
],
[
0,
-1
]
],
"state_bits": [
"seen",
"parent_north",
"parent_east",
"parent_south",
"parent_west",
"tip",
"on_path"
],
"inputs": [
"open",
"start",
"goal"
],
"lane_configs": [
{
"lanes": 1,
"signed_weights": 48,
"thresholds": 18
},
{
"lanes": 2,
"signed_weights": 96,
"thresholds": 36
}
],
"gates": [
{
"name": "near",
"threshold": 1,
"edges": [
[
"s0",
1
],
[
"s1",
1
],
[
"s2",
1
],
[
"s3",
1
]
]
},
{
"name": "new",
"threshold": 2,
"edges": [
[
"open",
1
],
[
"near",
1
],
[
"seen",
-1
]
]
},
{
"name": "pick0",
"threshold": 2,
"edges": [
[
"new",
1
],
[
"s0",
1
]
]
},
{
"name": "arrive0",
"threshold": 2,
"edges": [
[
"t0",
1
],
[
"pc0",
1
]
]
},
{
"name": "pick1",
"threshold": 2,
"edges": [
[
"new",
1
],
[
"s1",
1
],
[
"s0",
-1
]
]
},
{
"name": "arrive1",
"threshold": 2,
"edges": [
[
"t1",
1
],
[
"pc1",
1
]
]
},
{
"name": "pick2",
"threshold": 2,
"edges": [
[
"new",
1
],
[
"s2",
1
],
[
"s0",
-1
],
[
"s1",
-1
]
]
},
{
"name": "arrive2",
"threshold": 2,
"edges": [
[
"t2",
1
],
[
"pc2",
1
]
]
},
{
"name": "pick3",
"threshold": 2,
"edges": [
[
"new",
1
],
[
"s3",
1
],
[
"s0",
-1
],
[
"s1",
-1
],
[
"s2",
-1
]
]
},
{
"name": "arrive3",
"threshold": 2,
"edges": [
[
"t3",
1
],
[
"pc3",
1
]
]
},
{
"name": "born",
"threshold": 2,
"edges": [
[
"start",
1
],
[
"new",
1
]
]
},
{
"name": "next_seen",
"threshold": 1,
"edges": [
[
"seen",
1
],
[
"new",
1
]
]
},
{
"name": "next_parent0",
"threshold": 1,
"edges": [
[
"p0",
1
],
[
"pick0",
1
]
]
},
{
"name": "next_parent1",
"threshold": 1,
"edges": [
[
"p1",
1
],
[
"pick1",
1
]
]
},
{
"name": "next_parent2",
"threshold": 1,
"edges": [
[
"p2",
1
],
[
"pick2",
1
]
]
},
{
"name": "next_parent3",
"threshold": 1,
"edges": [
[
"p3",
1
],
[
"pick3",
1
]
]
},
{
"name": "next_tip",
"threshold": 1,
"edges": [
[
"born",
1
],
[
"arrive0",
1
],
[
"arrive1",
1
],
[
"arrive2",
1
],
[
"arrive3",
1
]
]
},
{
"name": "next_path",
"threshold": 1,
"edges": [
[
"path",
1
],
[
"next_tip",
1
]
]
}
]
}