From f3a7a4a64d97e1e97fbd18ed5e7acbf5ffa1414f Mon Sep 17 00:00:00 2001 From: Mateusz Date: Tue, 21 Jun 2022 17:07:27 +0200 Subject: [PATCH] add experiments to jupyter --- network_attack_propagation.ipynb | 42 ++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 5 deletions(-) diff --git a/network_attack_propagation.ipynb b/network_attack_propagation.ipynb index c0f38ff..0772078 100644 --- a/network_attack_propagation.ipynb +++ b/network_attack_propagation.ipynb @@ -86,6 +86,16 @@ "### Magistrala" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from network_attack_propagation import bus_experiment \n", + "bus_experiment()" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -114,6 +124,16 @@ "### Pierścień" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from network_attack_propagation import ring_experiment \n", + "ring_experiment()" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -142,6 +162,16 @@ "### Gwiazda" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from network_attack_propagation import star_experiment \n", + "star_experiment()" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -181,11 +211,8 @@ } ], "metadata": { - "interpreter": { - "hash": "11938c6bc6919ae2720b4d5011047913343b08a43b18698fd82dedb0d4417594" - }, "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3.9.0 64-bit", "language": "python", "name": "python3" }, @@ -199,7 +226,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.2" + "version": "3.9.0" + }, + "vscode": { + "interpreter": { + "hash": "3dafdb3de6203a1118d6c063d9a807622a512a5be3d463a10b75ce9c56521739" + } } }, "nbformat": 4,