* tests/python/ltsmin.ipynb: Erase the model file.

This commit is contained in:
Alexandre Duret-Lutz 2016-02-03 08:51:37 +01:00
parent 35c8beaa3c
commit af96cbca83

View file

@ -1,7 +1,23 @@
{ {
"metadata": { "metadata": {
"name": "", "kernelspec": {
"signature": "sha256:fa0fbee36e16c4615d30141ace5f7aa76009d478e4a4e2b088b6093b25f8bc69" "display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.3+"
},
"name": ""
}, },
"nbformat": 3, "nbformat": 3,
"nbformat_minor": 0, "nbformat_minor": 0,
@ -62,6 +78,17 @@
"Write an example DiVinE model. " "Write an example DiVinE model. "
] ]
}, },
{
"cell_type": "code",
"collapsed": false,
"input": [
"!rm -f test1.dve"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 3
},
{ {
"cell_type": "code", "cell_type": "code",
"collapsed": false, "collapsed": false,
@ -95,11 +122,11 @@
"output_type": "stream", "output_type": "stream",
"stream": "stdout", "stream": "stdout",
"text": [ "text": [
"Overwriting test1.dve\n" "Writing test1.dve\n"
] ]
} }
], ],
"prompt_number": 3 "prompt_number": 4
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
@ -123,7 +150,7 @@
{ {
"metadata": {}, "metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 4, "prompt_number": 5,
"text": [ "text": [
"ltsmin model with the following variables:\n", "ltsmin model with the following variables:\n",
" a: int\n", " a: int\n",
@ -133,7 +160,7 @@
] ]
} }
], ],
"prompt_number": 4 "prompt_number": 5
}, },
{ {
"cell_type": "code", "cell_type": "code",
@ -147,7 +174,7 @@
{ {
"metadata": {}, "metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 5, "prompt_number": 6,
"text": [ "text": [
"[('state_size', 4),\n", "[('state_size', 4),\n",
" ('types', [('int', []), ('P', ['x']), ('Q', ['wait', 'work'])]),\n", " ('types', [('int', []), ('P', ['x']), ('Q', ['wait', 'work'])]),\n",
@ -155,7 +182,7 @@
] ]
} }
], ],
"prompt_number": 5 "prompt_number": 6
}, },
{ {
"cell_type": "code", "cell_type": "code",
@ -170,7 +197,7 @@
{ {
"metadata": {}, "metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 6, "prompt_number": 7,
"svg": [ "svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n", "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n", "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
@ -358,11 +385,11 @@
"</svg>\n" "</svg>\n"
], ],
"text": [ "text": [
"<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7f6211db0600> >" "<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7f426c309690> >"
] ]
} }
], ],
"prompt_number": 6 "prompt_number": 7
}, },
{ {
"cell_type": "code", "cell_type": "code",
@ -376,7 +403,7 @@
{ {
"metadata": {}, "metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 7, "prompt_number": 8,
"svg": [ "svg": [
"<svg height=\"200pt\" viewBox=\"0.00 0.00 734.00 199.71\" width=\"734pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n", "<svg height=\"200pt\" viewBox=\"0.00 0.00 734.00 199.71\" width=\"734pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g class=\"graph\" id=\"graph0\" transform=\"scale(0.524532 0.524532) rotate(0) translate(4 376.74)\">\n", "<g class=\"graph\" id=\"graph0\" transform=\"scale(0.524532 0.524532) rotate(0) translate(4 376.74)\">\n",
@ -637,11 +664,11 @@
"</svg>" "</svg>"
], ],
"text": [ "text": [
"<IPython.core.display.SVG at 0x7f6211d5b400>" "<IPython.core.display.SVG object>"
] ]
} }
], ],
"prompt_number": 7 "prompt_number": 8
}, },
{ {
"cell_type": "code", "cell_type": "code",
@ -655,7 +682,7 @@
{ {
"metadata": {}, "metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 8, "prompt_number": 9,
"svg": [ "svg": [
"<svg height=\"151pt\" viewBox=\"0.00 0.00 734.00 150.69\" width=\"734pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n", "<svg height=\"151pt\" viewBox=\"0.00 0.00 734.00 150.69\" width=\"734pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g class=\"graph\" id=\"graph0\" transform=\"scale(0.390662 0.390662) rotate(0) translate(4 381.74)\">\n", "<g class=\"graph\" id=\"graph0\" transform=\"scale(0.390662 0.390662) rotate(0) translate(4 381.74)\">\n",
@ -993,11 +1020,11 @@
"</svg>" "</svg>"
], ],
"text": [ "text": [
"<IPython.core.display.SVG at 0x7f621dda1400>" "<IPython.core.display.SVG object>"
] ]
} }
], ],
"prompt_number": 8 "prompt_number": 9
}, },
{ {
"cell_type": "code", "cell_type": "code",
@ -1011,7 +1038,7 @@
{ {
"metadata": {}, "metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 9, "prompt_number": 10,
"svg": [ "svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n", "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n", "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
@ -1063,11 +1090,11 @@
"</svg>\n" "</svg>\n"
], ],
"text": [ "text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f621de1c2d0> >" "<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f426c05f960> >"
] ]
} }
], ],
"prompt_number": 9 "prompt_number": 10
}, },
{ {
"cell_type": "code", "cell_type": "code",
@ -1081,7 +1108,7 @@
{ {
"metadata": {}, "metadata": {},
"output_type": "pyout", "output_type": "pyout",
"prompt_number": 10, "prompt_number": 11,
"svg": [ "svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n", "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n", "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
@ -1225,20 +1252,22 @@
"</svg>\n" "</svg>\n"
], ],
"text": [ "text": [
"<spot.impl.twa_product; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_product > *' at 0x7f6211db0cc0> >" "<spot.impl.twa_product; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_product > *' at 0x7f426c309600> >"
] ]
} }
], ],
"prompt_number": 10 "prompt_number": 11
}, },
{ {
"cell_type": "code", "cell_type": "code",
"collapsed": false, "collapsed": false,
"input": [], "input": [
"!rm -f test1.dve"
],
"language": "python", "language": "python",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"prompt_number": 10 "prompt_number": 12
} }
], ],
"metadata": {} "metadata": {}