add experiments to jupyter

This commit is contained in:
Mateusz 2022-06-21 17:07:27 +02:00
parent de0560d538
commit f3a7a4a64d

View File

@ -86,6 +86,16 @@
"### Magistrala" "### Magistrala"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from network_attack_propagation import bus_experiment \n",
"bus_experiment()"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
@ -114,6 +124,16 @@
"### Pierścień" "### Pierścień"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from network_attack_propagation import ring_experiment \n",
"ring_experiment()"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
@ -142,6 +162,16 @@
"### Gwiazda" "### Gwiazda"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from network_attack_propagation import star_experiment \n",
"star_experiment()"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
@ -181,11 +211,8 @@
} }
], ],
"metadata": { "metadata": {
"interpreter": {
"hash": "11938c6bc6919ae2720b4d5011047913343b08a43b18698fd82dedb0d4417594"
},
"kernelspec": { "kernelspec": {
"display_name": "Python 3 (ipykernel)", "display_name": "Python 3.9.0 64-bit",
"language": "python", "language": "python",
"name": "python3" "name": "python3"
}, },
@ -199,7 +226,12 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.2" "version": "3.9.0"
},
"vscode": {
"interpreter": {
"hash": "3dafdb3de6203a1118d6c063d9a807622a512a5be3d463a10b75ce9c56521739"
}
} }
}, },
"nbformat": 4, "nbformat": 4,