Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
glatteis committed Nov 7, 2024
1 parent 805f4ef commit 19d1c29
Showing 1 changed file with 12 additions and 30 deletions.
42 changes: 12 additions & 30 deletions docs/getting_started/simulator.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 50,
"id": "a8ddc37c-66d2-43e4-8162-6be19a1d70a1",
"metadata": {},
"outputs": [],
Expand All @@ -21,7 +21,7 @@
},
{
"cell_type": "code",
"execution_count": 39,
"execution_count": 51,
"id": "cab40f99-3460-4497-8b9f-3d669eee1e11",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -94,7 +94,7 @@
},
{
"cell_type": "code",
"execution_count": 40,
"execution_count": 52,
"id": "eb0fadc0-7bb6-4c1d-ae3e-9e16527726ab",
"metadata": {},
"outputs": [
Expand All @@ -109,13 +109,13 @@
"State 1 with labels ['carchosen'] and features {}\n",
"State 2 with labels ['open'] and features {}\n",
"State 3 with labels ['goatrevealed'] and features {}\n",
"State 4 with labels ['done'] and features {}\n",
"State 4 with labels ['target', 'done'] and features {}\n",
"\n",
"Transitions:\n",
"0.3333333333333333 -> State 1 with labels ['carchosen'] and features {}\n",
"1.0 -> State 2 with labels ['open'] and features {}\n",
"0.5 -> State 3 with labels ['goatrevealed'] and features {}\n",
"1.0 -> State 4 with labels ['done'] and features {}\n"
"1.0 -> State 4 with labels ['target', 'done'] and features {}\n"
]
}
],
Expand All @@ -138,7 +138,7 @@
},
{
"cell_type": "code",
"execution_count": 41,
"execution_count": 53,
"id": "59ac1e34-866c-42c4-b19b-c2a15c830e2e",
"metadata": {
"scrolled": true
Expand Down Expand Up @@ -178,14 +178,14 @@
},
{
"cell_type": "code",
"execution_count": 42,
"execution_count": 54,
"id": "22871288-755c-463f-9150-f207c2f5c211",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6666f8264c30478e8891416bda2e16c8",
"model_id": "973a68e0e2db4c4584784be2676a499d",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -199,7 +199,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "65bb666a46e043579edf5ce27889c731",
"model_id": "fd584a2b1e2842f8a4a9e21167b04cc3",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -213,7 +213,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e5bbb310daaa4d2485dbf51c8de7cfbd",
"model_id": "d6f24c078fa9420ca810a576a227107e",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -223,26 +223,16 @@
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"<stormvogel.visualization.Visualization at 0x119c3d1c0>"
]
},
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"#we can also visualize the partial model that we get from the simulator:\n",
"show.show(partial_model)\n"
"vis = show.show(partial_model)"
]
},
{
"cell_type": "code",
"execution_count": 43,
"execution_count": 55,
"id": "34d0c293-d090-4e3d-9e80-4351f5fcba62",
"metadata": {},
"outputs": [
Expand All @@ -260,14 +250,6 @@
"\n",
"print(path)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "99c763fa-82ea-42ff-8833-79c640f14518",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 19d1c29

Please sign in to comment.