spot/tests/python/_altscc.ipynb
Alexandre Duret-Lutz 1cc45b2413 dot: display acceptance names
* spot/twaalgos/dot.cc: Display common acceptance names.
* NEWS: Mention the change.
* doc/org/oaut.org: Adjust text.
* tests/core/alternating.test, tests/core/readsave.test,
tests/python/_altscc.ipynb, tests/python/alternation.ipynb,
tests/python/atva16-fig2a.ipynb, tests/python/atva16-fig2b.ipynb,
tests/python/automata.ipynb, tests/python/decompose.ipynb,
tests/python/gen.ipynb, tests/python/highlighting.ipynb,
tests/python/product.ipynb, tests/python/randaut.ipynb: Adjust test
cases.
2017-08-17 15:21:59 +02:00

1031 lines
63 KiB
Text

{
"metadata": {
"kernelspec": {
"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.5.4"
},
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"These examples are tests for scc_info on alternating automata."
]
},
{
"cell_type": "code",
"collapsed": true,
"input": [
"from IPython.display import display\n",
"import spot\n",
"spot.setup(show_default='.bas')"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"spot.automaton('''\n",
"HOA: v1\n",
"States: 2\n",
"Start: 0&1\n",
"AP: 2 \"a\" \"b\"\n",
"acc-name: Buchi\n",
"Acceptance: 1 Inf(0)\n",
"--BODY--\n",
"State: 0\n",
"[0] 0\n",
"[!0] 1\n",
"State: 1\n",
"[1] 1 {0}\n",
"--END--\n",
"''')"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 2,
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"222pt\" height=\"219pt\"\n",
" viewBox=\"0.00 0.00 221.60 219.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 215)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-215 217.6,-215 217.6,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"85.8\" y=\"-196.8\" font-family=\"Lato\" font-size=\"14.00\">Inf(</text>\n",
"<text text-anchor=\"start\" x=\"107.8\" y=\"-196.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"123.8\" y=\"-196.8\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"83.8\" y=\"-182.8\" font-family=\"Lato\" font-size=\"14.00\">[B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"green\" points=\"153.6,-67 153.6,-167 205.6,-167 205.6,-67 153.6,-67\"/>\n",
"</g>\n",
"<g id=\"clust2\" class=\"cluster\"><title>cluster_1</title>\n",
"<polygon fill=\"none\" stroke=\"red\" points=\"70.6,-8 70.6,-93 122.6,-93 122.6,-8 70.6,-8\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- &#45;1 -->\n",
"<g id=\"node2\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"39.8\" cy=\"-87\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- I&#45;&gt;&#45;1 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.10844,-87C2.6468,-87 20.196,-87 30.7973,-87\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"30.9213,-89.4501 37.9213,-87 30.9212,-84.5501 30.9213,-89.4501\"/>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"179.6\" cy=\"-93\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"179.6\" y=\"-89.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.9032,-87.517C45.7496,-89.2872 58.9667,-95.1002 70.6,-97 99.2154,-101.673 132.637,-99.247 154.636,-96.5896\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"161.635,-95.6894 155.094,-99.7067 158.163,-96.1359 154.692,-96.5825 154.692,-96.5825 154.692,-96.5825 158.163,-96.1359 154.29,-93.4582 161.635,-95.6894 161.635,-95.6894\"/>\n",
"</g>\n",
"<!-- 0 -->\n",
"<g id=\"node4\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"96.6\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"96.6\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;0 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>&#45;1&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.7512,-86.0801C46.0172,-81.9542 63.7881,-64.7669 77.7636,-51.2506\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"83.0879,-46.1011 80.2461,-53.2319 80.572,-48.5344 78.0562,-50.9676 78.0562,-50.9676 78.0562,-50.9676 80.572,-48.5344 75.8663,-48.7033 83.0879,-46.1011 83.0879,-46.1011\"/>\n",
"</g>\n",
"<!-- 1&#45;&gt;1 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M172.569,-109.664C171.006,-119.625 173.35,-129 179.6,-129 184.288,-129 186.778,-123.727 187.071,-116.888\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"186.631,-109.664 190.201,-116.46 186.844,-113.158 187.056,-116.651 187.056,-116.651 187.056,-116.651 186.844,-113.158 183.912,-116.842 186.631,-109.664 186.631,-109.664\"/>\n",
"<text text-anchor=\"start\" x=\"175.1\" y=\"-147.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"<text text-anchor=\"start\" x=\"171.6\" y=\"-132.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- 0&#45;&gt;1 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>0&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M111.709,-44.277C124.718,-53.7524 144.16,-67.9144 158.737,-78.5316\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"164.653,-82.8408 157.14,-81.2655 161.823,-80.7801 158.994,-78.7194 158.994,-78.7194 158.994,-78.7194 161.823,-80.7801 160.849,-76.1732 164.653,-82.8408 164.653,-82.8408\"/>\n",
"<text text-anchor=\"start\" x=\"132.6\" y=\"-71.8\" font-family=\"Lato\" font-size=\"14.00\">!a</text>\n",
"</g>\n",
"<!-- 0&#45;&gt;0 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>0&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M90.2208,-51.0373C88.9189,-60.8579 91.0453,-70 96.6,-70 100.766,-70 103.004,-64.8576 103.313,-58.1433\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"102.979,-51.0373 106.454,-57.8818 103.143,-54.5335 103.308,-58.0296 103.308,-58.0296 103.308,-58.0296 103.143,-54.5335 100.161,-58.1774 102.979,-51.0373 102.979,-51.0373\"/>\n",
"<text text-anchor=\"start\" x=\"93.1\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e84e9810> >"
]
}
],
"prompt_number": 2
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"universal edges are handled as if they were many distinct existencial edges from the point of view of `scc_info`, so the acceptance / rejection status is not always meaningful."
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"spot.automaton('''\n",
"HOA: v1\n",
"States: 2\n",
"Start: 0&1\n",
"AP: 2 \"a\" \"b\"\n",
"Acceptance: 1 Fin(0)\n",
"--BODY--\n",
"State: 0\n",
"[0] 0&1 {0}\n",
"State: 1\n",
"[1] 1\n",
"--END--\n",
"''')"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 3,
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"154pt\" height=\"224pt\"\n",
" viewBox=\"0.00 0.00 153.60 224.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 220)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-220 149.6,-220 149.6,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"50.3\" y=\"-201.8\" font-family=\"Lato\" font-size=\"14.00\">Fin(</text>\n",
"<text text-anchor=\"start\" x=\"75.3\" y=\"-201.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"91.3\" y=\"-201.8\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"40.3\" y=\"-187.8\" font-family=\"Lato\" font-size=\"14.00\">[co&#45;B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"green\" points=\"85.6,-8 85.6,-93 137.6,-93 137.6,-8 85.6,-8\"/>\n",
"</g>\n",
"<g id=\"clust2\" class=\"cluster\"><title>cluster_1</title>\n",
"<polygon fill=\"none\" stroke=\"red\" points=\"30,-101 30,-172 137.6,-172 137.6,-101 30,-101\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- &#45;1 -->\n",
"<g id=\"node2\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"39.8\" cy=\"-111\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- I&#45;&gt;&#45;1 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.10844,-111C2.6468,-111 20.196,-111 30.7973,-111\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"30.9213,-113.45 37.9213,-111 30.9212,-108.55 30.9213,-113.45\"/>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"111.6\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"111.6\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.5839,-110.135C46.671,-104.523 75.3805,-72.8525 94.1327,-52.1659\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"98.8974,-46.9098 96.5299,-54.2117 96.5467,-49.5029 94.196,-52.0961 94.196,-52.0961 94.196,-52.0961 96.5467,-49.5029 91.8622,-49.9805 98.8974,-46.9098 98.8974,-46.9098\"/>\n",
"</g>\n",
"<!-- 0 -->\n",
"<g id=\"node4\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"111.6\" cy=\"-130\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"111.6\" y=\"-126.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;0 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>&#45;1&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.6782,-111.008C45.6648,-111.063 62.4342,-111.502 75.6,-115 79.9607,-116.158 84.4839,-117.765 88.7731,-119.499\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"95.2635,-122.282 87.5886,-122.419 92.0468,-120.903 88.83,-119.524 88.83,-119.524 88.83,-119.524 92.0468,-120.903 90.0714,-116.629 95.2635,-122.282 95.2635,-122.282\"/>\n",
"</g>\n",
"<!-- 1&#45;&gt;1 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M103.932,-50.2903C102.083,-60.3892 104.639,-70 111.6,-70 116.821,-70 119.564,-64.5939 119.829,-57.6304\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"119.268,-50.2903 122.942,-57.0299 119.535,-53.7801 119.801,-57.2699 119.801,-57.2699 119.801,-57.2699 119.535,-53.7801 116.66,-57.5099 119.268,-50.2903 119.268,-50.2903\"/>\n",
"<text text-anchor=\"start\" x=\"107.1\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"</g>\n",
"<!-- 0&#45;&gt;&#45;1 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>0&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M94.0998,-125.509C79.778,-121.61 59.6666,-116.136 48.6975,-113.15\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"49.1845,-110.743 41.7867,-111.269 47.8974,-115.471 49.1845,-110.743\"/>\n",
"<text text-anchor=\"start\" x=\"64.1\" y=\"-138.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"<text text-anchor=\"start\" x=\"59.6\" y=\"-123.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e8571900> >"
]
}
],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"spot.automaton('''\n",
"HOA: v1\n",
"States: 2\n",
"Start: 0&1\n",
"AP: 2 \"a\" \"b\"\n",
"Acceptance: 1 Fin(0)\n",
"--BODY--\n",
"State: 0\n",
"[0] 0 {0}\n",
"[!0] 1\n",
"State: 1\n",
"[1] 1&0\n",
"--END--\n",
"''')"
],
"language": "python",
"metadata": {
"scrolled": true
},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 4,
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"222pt\" height=\"231pt\"\n",
" viewBox=\"0.00 0.00 221.60 231.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 227)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-227 217.6,-227 217.6,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"84.3\" y=\"-208.8\" font-family=\"Lato\" font-size=\"14.00\">Fin(</text>\n",
"<text text-anchor=\"start\" x=\"109.3\" y=\"-208.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"125.3\" y=\"-208.8\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"74.3\" y=\"-194.8\" font-family=\"Lato\" font-size=\"14.00\">[co&#45;B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"green\" points=\"30,-8 30,-179 205.6,-179 205.6,-8 30,-8\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- &#45;1 -->\n",
"<g id=\"node2\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"39.8\" cy=\"-119\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- I&#45;&gt;&#45;1 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.10844,-119C2.6468,-119 20.196,-119 30.7973,-119\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"30.9213,-121.45 37.9213,-119 30.9212,-116.55 30.9213,-121.45\"/>\n",
"</g>\n",
"<!-- 0 -->\n",
"<g id=\"node3\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"96.6\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"96.6\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;0 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>&#45;1&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.4154,-118.045C45.3493,-111.944 67.2762,-77.9328 82.0029,-55.0904\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"85.9447,-48.9762 84.7992,-56.5664 84.0482,-51.9179 82.1517,-54.8595 82.1517,-54.8595 82.1517,-54.8595 84.0482,-51.9179 79.5042,-53.1527 85.9447,-48.9762 85.9447,-48.9762\"/>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node4\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"179.6\" cy=\"-119\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"179.6\" y=\"-115.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.68,-119C50.1115,-119 117.098,-119 154.153,-119\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"161.573,-119 154.573,-122.15 158.073,-119 154.573,-119 154.573,-119 154.573,-119 158.073,-119 154.573,-115.85 161.573,-119 161.573,-119\"/>\n",
"</g>\n",
"<!-- 0&#45;&gt;0 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>0&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M90.2208,-51.0373C88.9189,-60.8579 91.0453,-70 96.6,-70 100.766,-70 103.004,-64.8576 103.313,-58.1433\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"102.979,-51.0373 106.454,-57.8818 103.143,-54.5335 103.308,-58.0296 103.308,-58.0296 103.308,-58.0296 103.143,-54.5335 100.161,-58.1774 102.979,-51.0373 102.979,-51.0373\"/>\n",
"<text text-anchor=\"start\" x=\"93.1\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"<text text-anchor=\"start\" x=\"88.6\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- 0&#45;&gt;1 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>0&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M109.552,-46.542C123.311,-60.9805 146.014,-84.8048 161.607,-101.168\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"166.599,-106.407 159.49,-103.512 164.185,-103.873 161.77,-101.339 161.77,-101.339 161.77,-101.339 164.185,-103.873 164.05,-99.1658 166.599,-106.407 166.599,-106.407\"/>\n",
"<text text-anchor=\"start\" x=\"132.6\" y=\"-84.8\" font-family=\"Lato\" font-size=\"14.00\">!a</text>\n",
"</g>\n",
"<!-- 1&#45;&gt;&#45;1 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>1&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M161.562,-121.928C155.869,-122.775 149.478,-123.582 143.6,-124 106.361,-126.647 96.6185,-128.839 59.6,-124 55.8995,-123.516 51.8909,-122.519 48.5296,-121.541\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"49.2146,-119.187 41.8003,-119.365 47.7073,-123.85 49.2146,-119.187\"/>\n",
"<text text-anchor=\"start\" x=\"92.1\" y=\"-129.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e85070f0> >"
]
}
],
"prompt_number": 4
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"spot.automaton('''\n",
"HOA: v1\n",
"States: 2\n",
"Start: 0\n",
"AP: 2 \"a\" \"b\"\n",
"Acceptance: 1 Fin(0)\n",
"--BODY--\n",
"State: 0\n",
"[0] 0\n",
"[!0] 1 {0}\n",
"State: 1\n",
"[1] 1&0\n",
"--END--\n",
"''')"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 5,
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"235pt\" height=\"145pt\"\n",
" viewBox=\"0.00 0.00 234.60 145.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 141)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-141 230.6,-141 230.6,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"90.8\" y=\"-122.8\" font-family=\"Lato\" font-size=\"14.00\">Fin(</text>\n",
"<text text-anchor=\"start\" x=\"115.8\" y=\"-122.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"131.8\" y=\"-122.8\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"80.8\" y=\"-108.8\" font-family=\"Lato\" font-size=\"14.00\">[co&#45;B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"green\" points=\"30,-8 30,-93 218.6,-93 218.6,-8 30,-8\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- 0 -->\n",
"<g id=\"node2\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"56\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"56\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- I&#45;&gt;0 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.15491,-34C2.79388,-34 17.1543,-34 30.6317,-34\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"37.9419,-34 30.9419,-37.1501 34.4419,-34 30.9419,-34.0001 30.9419,-34.0001 30.9419,-34.0001 34.4419,-34 30.9418,-30.8501 37.9419,-34 37.9419,-34\"/>\n",
"</g>\n",
"<!-- 0&#45;&gt;0 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>0&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M49.6208,-51.0373C48.3189,-60.8579 50.4453,-70 56,-70 60.166,-70 62.4036,-64.8576 62.7128,-58.1433\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"62.3792,-51.0373 65.8541,-57.8818 62.5434,-54.5335 62.7076,-58.0296 62.7076,-58.0296 62.7076,-58.0296 62.5434,-54.5335 59.561,-58.1774 62.3792,-51.0373 62.3792,-51.0373\"/>\n",
"<text text-anchor=\"start\" x=\"52.5\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"144\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"144\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- 0&#45;&gt;1 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>0&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M74.4034,-34C87.1928,-34 104.732,-34 118.874,-34\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"125.916,-34 118.916,-37.1501 122.416,-34 118.916,-34.0001 118.916,-34.0001 118.916,-34.0001 122.416,-34 118.916,-30.8501 125.916,-34 125.916,-34\"/>\n",
"<text text-anchor=\"start\" x=\"94.5\" y=\"-52.8\" font-family=\"Lato\" font-size=\"14.00\">!a</text>\n",
"<text text-anchor=\"start\" x=\"92\" y=\"-37.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- &#45;1 -->\n",
"<g id=\"node4\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"208.8\" cy=\"-55\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- 1&#45;&gt;&#45;1 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>1&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M161.97,-31.3847C170.435,-30.8121 180.626,-31.2653 189,-35 195.022,-37.6859 200.027,-43.3116 203.355,-47.9143\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"201.413,-49.4256 207.255,-53.9948 205.538,-46.78 201.413,-49.4256\"/>\n",
"<text text-anchor=\"start\" x=\"180\" y=\"-38.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;0 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>&#45;1&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M207.029,-55.3291C199.425,-58.5247 137.182,-83.5412 92,-66 84.8621,-63.2288 78.2913,-58.2479 72.8175,-53.0285\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"67.7291,-47.8027 74.8694,-50.6204 70.1708,-50.3103 72.6125,-52.8179 72.6125,-52.8179 72.6125,-52.8179 70.1708,-50.3103 70.3556,-55.0155 67.7291,-47.8027 67.7291,-47.8027\"/>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M206.716,-54.9037C202.95,-54.5484 190.109,-53.1643 180,-50 175.648,-48.6378 171.129,-46.8647 166.841,-44.9966\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"160.351,-42.0283 168.027,-42.0751 163.534,-43.484 166.717,-44.9397 166.717,-44.9397 166.717,-44.9397 163.534,-43.484 165.407,-47.8043 160.351,-42.0283 160.351,-42.0283\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e8507120> >"
]
}
],
"prompt_number": 5
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"spot.automaton('''\n",
"HOA: v1\n",
"States: 2\n",
"Start: 0\n",
"AP: 2 \"a\" \"b\"\n",
"Acceptance: 1 Fin(0)\n",
"--BODY--\n",
"State: 0\n",
"[0] 0 {0}\n",
"[!0] 1 \n",
"State: 1\n",
"[1] 1&0 {0}\n",
"--END--\n",
"''')"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 6,
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"237pt\" height=\"160pt\"\n",
" viewBox=\"0.00 0.00 236.60 160.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 156)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-156 232.6,-156 232.6,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"91.8\" y=\"-137.8\" font-family=\"Lato\" font-size=\"14.00\">Fin(</text>\n",
"<text text-anchor=\"start\" x=\"116.8\" y=\"-137.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"132.8\" y=\"-137.8\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"81.8\" y=\"-123.8\" font-family=\"Lato\" font-size=\"14.00\">[co&#45;B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"orange\" points=\"30,-8 30,-108 220.6,-108 220.6,-8 30,-8\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- 0 -->\n",
"<g id=\"node2\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"56\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"56\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- I&#45;&gt;0 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.15491,-34C2.79388,-34 17.1543,-34 30.6317,-34\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"37.9419,-34 30.9419,-37.1501 34.4419,-34 30.9419,-34.0001 30.9419,-34.0001 30.9419,-34.0001 34.4419,-34 30.9418,-30.8501 37.9419,-34 37.9419,-34\"/>\n",
"</g>\n",
"<!-- 0&#45;&gt;0 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>0&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M49.6208,-51.0373C48.3189,-60.8579 50.4453,-70 56,-70 60.166,-70 62.4036,-64.8576 62.7128,-58.1433\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"62.3792,-51.0373 65.8541,-57.8818 62.5434,-54.5335 62.7076,-58.0296 62.7076,-58.0296 62.7076,-58.0296 62.5434,-54.5335 59.561,-58.1774 62.3792,-51.0373 62.3792,-51.0373\"/>\n",
"<text text-anchor=\"start\" x=\"52.5\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"<text text-anchor=\"start\" x=\"48\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"139\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"139\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- 0&#45;&gt;1 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>0&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M74.178,-34C85.6688,-34 100.959,-34 113.693,-34\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"120.847,-34 113.847,-37.1501 117.347,-34 113.847,-34.0001 113.847,-34.0001 113.847,-34.0001 117.347,-34 113.847,-30.8501 120.847,-34 120.847,-34\"/>\n",
"<text text-anchor=\"start\" x=\"92\" y=\"-37.8\" font-family=\"Lato\" font-size=\"14.00\">!a</text>\n",
"</g>\n",
"<!-- &#45;1 -->\n",
"<g id=\"node4\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"210.8\" cy=\"-70\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- 1&#45;&gt;&#45;1 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>1&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M156.81,-30.2475C167.377,-28.8262 180.875,-28.8101 191,-35 200.508,-40.8127 205.503,-53.2288 207.894,-61.5983\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"205.553,-62.3452 209.557,-68.5878 210.32,-61.2108 205.553,-62.3452\"/>\n",
"<text text-anchor=\"start\" x=\"178.5\" y=\"-53.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"<text text-anchor=\"start\" x=\"175\" y=\"-38.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;0 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>&#45;1&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M208.937,-70.1497C205.016,-70.8087 188.487,-73.3597 175,-72 137.348,-68.204 127.098,-67.1511 92,-53 87.4332,-51.1587 82.6985,-48.8714 78.2428,-46.5287\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"71.9664,-43.1024 79.6199,-43.6917 75.0385,-44.7795 78.1106,-46.4566 78.1106,-46.4566 78.1106,-46.4566 75.0385,-44.7795 76.6012,-49.2214 71.9664,-43.1024 71.9664,-43.1024\"/>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M208.886,-70.0545C204.745,-70.2648 187.406,-70.7466 175,-65 168.261,-61.8783 161.868,-57.0279 156.434,-52.0833\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"151.344,-47.1678 158.567,-49.7641 153.862,-49.599 156.379,-52.0302 156.379,-52.0302 156.379,-52.0302 153.862,-49.599 154.191,-54.2962 151.344,-47.1678 151.344,-47.1678\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e8507150> >"
]
}
],
"prompt_number": 6
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"A corner case for the dot printer"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"for a in spot.automata('''\n",
"HOA: v1\n",
"States: 3\n",
"Start: 0\n",
"AP: 2 \"a\" \"b\"\n",
"Acceptance: 1 Fin(0)\n",
"--BODY--\n",
"State: 0\n",
"[0] 1&2\n",
"State: 1\n",
"[1] 1&2 {0}\n",
"State: 2\n",
"[1] 2\n",
"--END--\n",
"HOA: v1\n",
"States: 3\n",
"Start: 0\n",
"AP: 2 \"a\" \"b\"\n",
"Acceptance: 1 Fin(0)\n",
"--BODY--\n",
"State: 0\n",
"[0] 1&2\n",
"State: 1\n",
"[1] 1 {0}\n",
"State: 2\n",
"[1] 2\n",
"--END--\n",
"'''):\n",
" display(a)\n",
"\n",
"a = spot.automaton('''\n",
"HOA: v1\n",
"States: 3\n",
"Start: 0&2\n",
"AP: 2 \"a\" \"b\"\n",
"Acceptance: 1 Fin(0)\n",
"spot.highlight.edges: 2 2\n",
"--BODY--\n",
"State: 0\n",
"[0] 1&2\n",
"State: 1\n",
"[1] 1&2 {0}\n",
"State: 2\n",
"[1] 1&2\n",
"--END--\n",
"''')\n",
"display(a, a.show('.basy'))"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "display_data",
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"227pt\" height=\"191pt\"\n",
" viewBox=\"0.00 0.00 226.60 191.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 187)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-187 222.6,-187 222.6,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"86.8\" y=\"-168.8\" font-family=\"Lato\" font-size=\"14.00\">Fin(</text>\n",
"<text text-anchor=\"start\" x=\"111.8\" y=\"-168.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"127.8\" y=\"-168.8\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"76.8\" y=\"-154.8\" font-family=\"Lato\" font-size=\"14.00\">[co&#45;B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"green\" points=\"158.6,-43 158.6,-128 210.6,-128 210.6,-43 158.6,-43\"/>\n",
"</g>\n",
"<g id=\"clust2\" class=\"cluster\"><title>cluster_1</title>\n",
"<polygon fill=\"none\" stroke=\"red\" points=\"30,-8 30,-79 137.6,-79 137.6,-8 30,-8\"/>\n",
"</g>\n",
"<g id=\"clust3\" class=\"cluster\"><title>cluster_2</title>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"30,-87 30,-139 82,-139 82,-87 30,-87\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- 0 -->\n",
"<g id=\"node2\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"56\" cy=\"-113\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"56\" y=\"-109.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- I&#45;&gt;0 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.15491,-113C2.79388,-113 17.1543,-113 30.6317,-113\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"37.9419,-113 30.9419,-116.15 34.4419,-113 30.9419,-113 30.9419,-113 30.9419,-113 34.4419,-113 30.9418,-109.85 37.9419,-113 37.9419,-113\"/>\n",
"</g>\n",
"<!-- &#45;1 -->\n",
"<g id=\"node5\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"127.8\" cy=\"-69\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- 0&#45;&gt;&#45;1 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>0&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M71.8028,-103.669C86.5994,-94.3414 108.707,-80.4052 119.85,-73.3813\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"121.315,-75.3538 125.93,-69.5484 118.702,-71.2087 121.315,-75.3538\"/>\n",
"<text text-anchor=\"start\" x=\"96.5\" y=\"-93.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"</g>\n",
"<!-- 2 -->\n",
"<g id=\"node3\" class=\"node\"><title>2</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"184.6\" cy=\"-69\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"184.6\" y=\"-65.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
"</g>\n",
"<!-- 2&#45;&gt;2 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>2&#45;&gt;2</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M178.221,-86.0373C176.919,-95.8579 179.045,-105 184.6,-105 188.766,-105 191.004,-99.8576 191.313,-93.1433\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"190.979,-86.0373 194.454,-92.8818 191.143,-89.5335 191.308,-93.0296 191.308,-93.0296 191.308,-93.0296 191.143,-89.5335 188.161,-93.1774 190.979,-86.0373 190.979,-86.0373\"/>\n",
"<text text-anchor=\"start\" x=\"180.1\" y=\"-108.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node4\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"56\" cy=\"-43\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"56\" y=\"-39.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- 1&#45;&gt;&#45;1 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>1&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M71.8052,-33.9269C82.5357,-28.6237 97.0271,-24.1864 108,-31 118.317,-37.4067 123.145,-51.3407 125.273,-60.4374\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"122.894,-61.0426 126.605,-67.4637 127.709,-60.1299 122.894,-61.0426\"/>\n",
"<text text-anchor=\"start\" x=\"95.5\" y=\"-49.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"<text text-anchor=\"start\" x=\"92\" y=\"-34.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;2 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>&#45;1&#45;&gt;2</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M129.751,-69C133.387,-69 146.83,-69 159.375,-69\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"166.575,-69 159.575,-72.1501 163.075,-69 159.575,-69.0001 159.575,-69.0001 159.575,-69.0001 163.075,-69 159.575,-65.8501 166.575,-69 166.575,-69\"/>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M125.907,-69.0398C121.857,-69.1912 104.853,-69.5147 92,-65 86.8791,-63.2012 81.7293,-60.5453 77.0147,-57.6956\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"70.8989,-53.752 78.489,-54.8982 73.8404,-55.6488 76.7819,-57.5455 76.7819,-57.5455 76.7819,-57.5455 73.8404,-55.6488 75.0748,-60.1929 70.8989,-53.752 70.8989,-53.752\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e8507630> >"
]
},
{
"metadata": {},
"output_type": "display_data",
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"218pt\" height=\"253pt\"\n",
" viewBox=\"0.00 0.00 217.60 253.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 249)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-249 213.6,-249 213.6,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"82.3\" y=\"-230.8\" font-family=\"Lato\" font-size=\"14.00\">Fin(</text>\n",
"<text text-anchor=\"start\" x=\"107.3\" y=\"-230.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"123.3\" y=\"-230.8\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"72.3\" y=\"-216.8\" font-family=\"Lato\" font-size=\"14.00\">[co&#45;B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"grey\" points=\"149.6,-101 149.6,-201 201.6,-201 201.6,-101 149.6,-101\"/>\n",
"</g>\n",
"<g id=\"clust2\" class=\"cluster\"><title>cluster_1</title>\n",
"<polygon fill=\"none\" stroke=\"green\" points=\"149.6,-8 149.6,-93 201.6,-93 201.6,-8 149.6,-8\"/>\n",
"</g>\n",
"<g id=\"clust3\" class=\"cluster\"><title>cluster_2</title>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"30,-17 30,-69 82,-69 82,-17 30,-17\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- 0 -->\n",
"<g id=\"node2\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"56\" cy=\"-43\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"56\" y=\"-39.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- I&#45;&gt;0 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.15491,-43C2.79388,-43 17.1543,-43 30.6317,-43\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"37.9419,-43 30.9419,-46.1501 34.4419,-43 30.9419,-43.0001 30.9419,-43.0001 30.9419,-43.0001 34.4419,-43 30.9418,-39.8501 37.9419,-43 37.9419,-43\"/>\n",
"</g>\n",
"<!-- &#45;1 -->\n",
"<g id=\"node5\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"118.8\" cy=\"-43\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- 0&#45;&gt;&#45;1 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>0&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M74.2602,-43C85.8106,-43 100.495,-43 109.516,-43\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"109.666,-45.4501 116.666,-43 109.666,-40.5501 109.666,-45.4501\"/>\n",
"<text text-anchor=\"start\" x=\"92\" y=\"-46.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"175.6\" cy=\"-127\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"175.6\" y=\"-123.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- 1&#45;&gt;1 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M169.221,-144.037C167.919,-153.858 170.045,-163 175.6,-163 179.766,-163 182.004,-157.858 182.313,-151.143\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"181.979,-144.037 185.454,-150.882 182.143,-147.533 182.308,-151.03 182.308,-151.03 182.308,-151.03 182.143,-147.533 179.161,-151.177 181.979,-144.037 181.979,-144.037\"/>\n",
"<text text-anchor=\"start\" x=\"171.1\" y=\"-181.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"<text text-anchor=\"start\" x=\"167.6\" y=\"-166.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- 2 -->\n",
"<g id=\"node4\" class=\"node\"><title>2</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"175.6\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"175.6\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
"</g>\n",
"<!-- 2&#45;&gt;2 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>2&#45;&gt;2</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M169.221,-51.0373C167.919,-60.8579 170.045,-70 175.6,-70 179.766,-70 182.004,-64.8576 182.313,-58.1433\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"181.979,-51.0373 185.454,-57.8818 182.143,-54.5335 182.308,-58.0296 182.308,-58.0296 182.308,-58.0296 182.143,-54.5335 179.161,-58.1774 181.979,-51.0373 181.979,-51.0373\"/>\n",
"<text text-anchor=\"start\" x=\"171.1\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M120.446,-44.3921C123.401,-50.7055 136.067,-77.1972 149.6,-97 152.211,-100.82 155.206,-104.736 158.196,-108.424\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"162.833,-113.987 155.931,-110.627 160.592,-111.299 158.351,-108.61 158.351,-108.61 158.351,-108.61 160.592,-111.299 160.771,-106.594 162.833,-113.987 162.833,-113.987\"/>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;2 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>&#45;1&#45;&gt;2</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M120.751,-42.8438C124.387,-42.2467 137.83,-40.0388 150.375,-37.9786\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"157.575,-36.796 151.178,-41.0389 154.122,-37.3633 150.668,-37.9305 150.668,-37.9305 150.668,-37.9305 154.122,-37.3633 150.157,-34.8222 157.575,-36.796 157.575,-36.796\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e84e98a0> >"
]
},
{
"metadata": {},
"output_type": "display_data",
"svg": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.38.0 (20140413.2041)\n",
" -->\n",
"<!-- Title: G Pages: 1 -->\n",
"<svg width=\"275pt\" height=\"193pt\"\n",
" viewBox=\"0.00 0.00 275.20 192.51\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 188.511)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-188.511 271.2,-188.511 271.2,4 -4,4\"/>\n",
"<text text-anchor=\"start\" x=\"111.1\" y=\"-170.311\" font-family=\"Lato\" font-size=\"14.00\">Fin(</text>\n",
"<text text-anchor=\"start\" x=\"136.1\" y=\"-170.311\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"<text text-anchor=\"start\" x=\"152.1\" y=\"-170.311\" font-family=\"Lato\" font-size=\"14.00\">)</text>\n",
"<text text-anchor=\"start\" x=\"101.1\" y=\"-156.311\" font-family=\"Lato\" font-size=\"14.00\">[co&#45;B\u00fcchi]</text>\n",
"<g id=\"clust1\" class=\"cluster\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" stroke=\"green\" points=\"70.6,-8 70.6,-79 259.2,-79 259.2,-8 70.6,-8\"/>\n",
"</g>\n",
"<g id=\"clust2\" class=\"cluster\"><title>cluster_1</title>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"70.6,-87 70.6,-139 122.6,-139 122.6,-87 70.6,-87\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- &#45;4 -->\n",
"<g id=\"node2\" class=\"node\"><title>&#45;4</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"39.8\" cy=\"-141\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- I&#45;&gt;&#45;4 -->\n",
"<g id=\"edge1\" class=\"edge\"><title>I&#45;&gt;&#45;4</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M1.10844,-141C2.6468,-141 20.196,-141 30.7973,-141\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"30.9213,-143.45 37.9213,-141 30.9212,-138.55 30.9213,-143.45\"/>\n",
"</g>\n",
"<!-- 2 -->\n",
"<g id=\"node5\" class=\"node\"><title>2</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"233.2\" cy=\"-53\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"233.2\" y=\"-49.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
"</g>\n",
"<!-- &#45;4&#45;&gt;2 -->\n",
"<g id=\"edge3\" class=\"edge\"><title>&#45;4&#45;&gt;2</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.6453,-141.251C48.1792,-143.145 91.2224,-154.806 122.6,-143 161.522,-128.355 196.795,-93.856 216.29,-72.0775\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"221.13,-66.567 218.877,-73.9052 218.82,-69.1967 216.511,-71.8265 216.511,-71.8265 216.511,-71.8265 218.82,-69.1967 214.144,-69.7478 221.13,-66.567 221.13,-66.567\"/>\n",
"</g>\n",
"<!-- 0 -->\n",
"<g id=\"node6\" class=\"node\"><title>0</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"96.6\" cy=\"-113\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"96.6\" y=\"-109.3\" font-family=\"Lato\" font-size=\"14.00\">0</text>\n",
"</g>\n",
"<!-- &#45;4&#45;&gt;0 -->\n",
"<g id=\"edge2\" class=\"edge\"><title>&#45;4&#45;&gt;0</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M41.7512,-140.514C45.6352,-138.529 60.7141,-130.825 73.9308,-124.072\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"80.2121,-120.862 75.4119,-126.853 77.0954,-122.455 73.9787,-124.047 73.9787,-124.047 73.9787,-124.047 77.0954,-122.455 72.5454,-121.242 80.2121,-120.862 80.2121,-120.862\"/>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"96.6\" cy=\"-43\" rx=\"18\" ry=\"18\"/>\n",
"<text text-anchor=\"middle\" x=\"96.6\" y=\"-39.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
"</g>\n",
"<!-- &#45;1 -->\n",
"<g id=\"node4\" class=\"node\"><title>&#45;1</title>\n",
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"168.4\" cy=\"-56\" rx=\"1.8\" ry=\"1.8\"/>\n",
"</g>\n",
"<!-- 1&#45;&gt;&#45;1 -->\n",
"<g id=\"edge7\" class=\"edge\"><title>1&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"#ff7f00\" stroke-width=\"2\" d=\"M112.506,-34.3378C123.022,-29.4344 137.206,-25.3123 148.6,-31 155.651,-34.52 160.75,-42.0833 163.843,-47.9744\"/>\n",
"<polygon fill=\"none\" stroke=\"#ff7f00\" stroke-width=\"2\" points=\"161.798,-49.3942 166.935,-54.7434 166.255,-47.3582 161.798,-49.3942\"/>\n",
"<text text-anchor=\"start\" x=\"136.1\" y=\"-49.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"<text text-anchor=\"start\" x=\"132.6\" y=\"-34.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">\u24ff</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g id=\"edge5\" class=\"edge\"><title>&#45;1&#45;&gt;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M166.439,-56.6548C163.763,-58.4337 155.94,-63.3336 148.6,-65 141.665,-66.5743 139.433,-66.9692 132.6,-65 127.169,-63.4349 121.767,-60.7509 116.891,-57.7844\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"111.032,-53.9389 118.613,-55.1467 113.958,-55.8595 116.884,-57.7801 116.884,-57.7801 116.884,-57.7801 113.958,-55.8595 115.156,-60.4135 111.032,-53.9389 111.032,-53.9389\"/>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;2 -->\n",
"<g id=\"edge6\" class=\"edge\"><title>&#45;1&#45;&gt;2</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M169.956,-55.0361C171.925,-51.7327 178.95,-40.8603 188.2,-37 195.781,-33.8363 204.234,-35.6641 211.688,-39.0354\"/>\n",
"<polygon fill=\"black\" stroke=\"black\" points=\"218.2,-42.4664 210.539,-41.9902 215.104,-40.8349 212.007,-39.2034 212.007,-39.2034 212.007,-39.2034 215.104,-40.8349 213.476,-36.4165 218.2,-42.4664 218.2,-42.4664\"/>\n",
"</g>\n",
"<!-- 2&#45;&gt;&#45;1 -->\n",
"<g id=\"edge8\" class=\"edge\"><title>2&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M215.18,-53.8131C203.016,-54.3942 187.18,-55.1507 177.678,-55.6045\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"177.365,-53.1666 170.49,-55.9479 177.599,-58.061 177.365,-53.1666\"/>\n",
"<text text-anchor=\"start\" x=\"188.2\" y=\"-59.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
"</g>\n",
"<!-- 0&#45;&gt;&#45;1 -->\n",
"<g id=\"edge4\" class=\"edge\"><title>0&#45;&gt;&#45;1</title>\n",
"<path fill=\"none\" stroke=\"black\" d=\"M111.058,-102.01C125.993,-89.8136 149.481,-70.6327 160.829,-61.3656\"/>\n",
"<polygon fill=\"none\" stroke=\"black\" points=\"162.62,-63.0668 166.492,-56.7415 159.52,-59.2715 162.62,-63.0668\"/>\n",
"<text text-anchor=\"start\" x=\"137.1\" y=\"-86.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text": [
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f41e9624660> >"
]
},
{
"metadata": {},
"output_type": "display_data",
"svg": [
"<svg height=\"198pt\" viewBox=\"0.00 0.00 253.20 198.00\" width=\"253pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g class=\"graph\" id=\"graph0\" transform=\"scale(1 1) rotate(0) translate(4 194)\">\n",
"<title>G</title>\n",
"<polygon fill=\"white\" points=\"-4,4 -4,-194 249.2,-194 249.2,4 -4,4\" stroke=\"none\"/>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"100.1\" y=\"-175.8\">Fin(</text>\n",
"<text fill=\"#1f78b4\" font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"125.1\" y=\"-175.8\">\u24ff</text>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"141.1\" y=\"-175.8\">)</text>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"90.1\" y=\"-161.8\">[co-B\u00fcchi]</text>\n",
"<g class=\"cluster\" id=\"clust1\"><title>cluster_0</title>\n",
"<polygon fill=\"none\" points=\"8,-8 8,-86 237.2,-86 237.2,-8 8,-8\" stroke=\"green\"/>\n",
"</g>\n",
"<g class=\"cluster\" id=\"clust2\"><title>cluster_1</title>\n",
"<polygon fill=\"none\" points=\"136.6,-94 136.6,-146 188.6,-146 188.6,-94 136.6,-94\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- I -->\n",
"<!-- &#45;4 -->\n",
"<g class=\"node\" id=\"node2\"><title>-4</title>\n",
"<ellipse cx=\"105.8\" cy=\"-104\" fill=\"#ffffaa\" rx=\"1.8\" ry=\"1.8\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- I&#45;&gt;&#45;4 -->\n",
"<g class=\"edge\" id=\"edge1\"><title>I-&gt;-4</title>\n",
"<path d=\"M35.0506,-104C36.6946,-104 77.9811,-104 96.245,-104\" fill=\"none\" stroke=\"black\"/>\n",
"<polygon fill=\"none\" points=\"96.6251,-106.45 103.625,-104 96.625,-101.55 96.6251,-106.45\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- 2 -->\n",
"<g class=\"node\" id=\"node5\"><title>2</title>\n",
"<ellipse cx=\"162.6\" cy=\"-57\" fill=\"#ffffaa\" rx=\"18\" ry=\"18\" stroke=\"black\"/>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"162.6\" y=\"-53.3\">2</text>\n",
"</g>\n",
"<!-- &#45;4&#45;&gt;2 -->\n",
"<g class=\"edge\" id=\"edge3\"><title>-4-&gt;2</title>\n",
"<path d=\"M107.751,-103.184C111.905,-99.6218 128.861,-85.0788 142.652,-73.2513\" fill=\"none\" stroke=\"black\"/>\n",
"<polygon fill=\"black\" points=\"148.321,-68.3886 145.059,-75.3369 145.665,-70.6672 143.008,-72.9458 143.008,-72.9458 143.008,-72.9458 145.665,-70.6672 140.957,-70.5547 148.321,-68.3886 148.321,-68.3886\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- 0 -->\n",
"<g class=\"node\" id=\"node7\"><title>0</title>\n",
"<ellipse cx=\"162.6\" cy=\"-120\" fill=\"#ffffaa\" rx=\"18\" ry=\"18\" stroke=\"black\"/>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"162.6\" y=\"-116.3\">0</text>\n",
"</g>\n",
"<!-- &#45;4&#45;&gt;0 -->\n",
"<g class=\"edge\" id=\"edge2\"><title>-4-&gt;0</title>\n",
"<path d=\"M107.751,-104.278C111.469,-105.363 125.441,-109.443 138.221,-113.174\" fill=\"none\" stroke=\"black\"/>\n",
"<polygon fill=\"black\" points=\"145.126,-115.19 137.523,-116.252 141.766,-114.209 138.406,-113.228 138.406,-113.228 138.406,-113.228 141.766,-114.209 139.289,-110.204 145.126,-115.19 145.126,-115.19\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- 1 -->\n",
"<g class=\"node\" id=\"node3\"><title>1</title>\n",
"<ellipse cx=\"34\" cy=\"-34\" fill=\"#ffffaa\" rx=\"18\" ry=\"18\" stroke=\"black\"/>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"34\" y=\"-30.3\">1</text>\n",
"</g>\n",
"<!-- &#45;1.2 -->\n",
"<g class=\"node\" id=\"node4\"><title>-1.2</title>\n",
"<ellipse cx=\"105.8\" cy=\"-48\" fill=\"#ffffaa\" rx=\"1.8\" ry=\"1.8\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- 1&#45;&gt;&#45;1.2 -->\n",
"<g class=\"edge\" id=\"edge7\"><title>1-&gt;-1.2</title>\n",
"<path d=\"M51.8966,-37.389C66.2298,-40.2639 86.1419,-44.2577 96.9907,-46.4337\" fill=\"none\" stroke=\"#ff7f00\" stroke-width=\"2\"/>\n",
"<polygon fill=\"none\" points=\"96.6407,-48.8622 103.986,-47.8367 97.6044,-44.0579 96.6407,-48.8622\" stroke=\"#ff7f00\" stroke-width=\"2\"/>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"73.5\" y=\"-63.8\">b</text>\n",
"<text fill=\"#1f78b4\" font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"70\" y=\"-48.8\">\u24ff</text>\n",
"</g>\n",
"<!-- &#45;1.2&#45;&gt;1 -->\n",
"<g class=\"edge\" id=\"edge8\"><title>-1.2-&gt;1</title>\n",
"<path d=\"M103.844,-47.304C101.179,-45.4083 93.3825,-40.1514 86,-38 77.5586,-35.54 68.019,-34.3845 59.4929,-33.8924\" fill=\"none\" stroke=\"#ff7f00\" stroke-width=\"2\"/>\n",
"<polygon fill=\"#ff7f00\" points=\"52.3144,-33.6146 59.431,-30.7377 55.8311,-33.2504 59.3285,-33.3857 59.3092,-33.8854 59.2898,-34.385 55.7924,-34.2496 59.1873,-37.033 52.3144,-33.6146 52.3144,-33.6146\" stroke=\"#ff7f00\" stroke-width=\"2\"/>\n",
"</g>\n",
"<!-- &#45;1.2&#45;&gt;2 -->\n",
"<g class=\"edge\" id=\"edge9\"><title>-1.2-&gt;2</title>\n",
"<path d=\"M107.751,-48.1562C111.387,-48.7533 124.83,-50.9612 137.375,-53.0214\" fill=\"none\" stroke=\"#ff7f00\" stroke-width=\"2\"/>\n",
"<polygon fill=\"#ff7f00\" points=\"144.575,-54.204 137.157,-56.1778 141.041,-54.1301 137.587,-53.5629 137.668,-53.0695 137.749,-52.5761 141.203,-53.1433 138.178,-49.9611 144.575,-54.204 144.575,-54.204\" stroke=\"#ff7f00\" stroke-width=\"2\"/>\n",
"</g>\n",
"<!-- &#45;1 -->\n",
"<g class=\"node\" id=\"node6\"><title>-1</title>\n",
"<ellipse cx=\"227.4\" cy=\"-58\" fill=\"#ffffaa\" rx=\"1.8\" ry=\"1.8\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- 2&#45;&gt;&#45;1 -->\n",
"<g class=\"edge\" id=\"edge10\"><title>2-&gt;-1</title>\n",
"<path d=\"M178.748,-48.5602C187.269,-44.8885 198.076,-42.028 207.6,-45 212.278,-46.46 216.818,-49.5368 220.264,-52.3307\" fill=\"none\" stroke=\"black\"/>\n",
"<polygon fill=\"none\" points=\"218.66,-54.1833 225.496,-57.0596 221.946,-50.5481 218.66,-54.1833\" stroke=\"black\"/>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"198.6\" y=\"-49.8\">b</text>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;1 -->\n",
"<g class=\"edge\" id=\"edge5\"><title>-1-&gt;1</title>\n",
"<path d=\"M225.608,-57.0026C221.981,-52.5346 206.36,-34.3882 188.6,-30 143.956,-18.9689 89.786,-24.6084 59.1641,-29.4687\" fill=\"none\" stroke=\"black\"/>\n",
"<polygon fill=\"black\" points=\"51.9063,-30.677 58.294,-26.4202 55.3588,-30.1022 58.8113,-29.5274 58.8113,-29.5274 58.8113,-29.5274 55.3588,-30.1022 59.3286,-32.6346 51.9063,-30.677 51.9063,-30.677\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- &#45;1&#45;&gt;2 -->\n",
"<g class=\"edge\" id=\"edge6\"><title>-1-&gt;2</title>\n",
"<path d=\"M225.408,-58.4381C222.651,-59.6279 214.641,-62.9036 207.6,-64 200.865,-65.0487 193.553,-64.5459 186.859,-63.4355\" fill=\"none\" stroke=\"black\"/>\n",
"<polygon fill=\"black\" points=\"179.895,-62.0368 187.378,-60.3269 183.326,-62.726 186.757,-63.4153 186.757,-63.4153 186.757,-63.4153 183.326,-62.726 186.137,-66.5036 179.895,-62.0368 179.895,-62.0368\" stroke=\"black\"/>\n",
"</g>\n",
"<!-- 0&#45;&gt;&#45;1 -->\n",
"<g class=\"edge\" id=\"edge4\"><title>0-&gt;-1</title>\n",
"<path d=\"M176.007,-107.751C189.483,-94.4463 210.436,-73.7609 220.548,-63.7776\" fill=\"none\" stroke=\"black\"/>\n",
"<polygon fill=\"none\" points=\"222.332,-65.4595 225.592,-58.798 218.889,-61.9725 222.332,-65.4595\" stroke=\"black\"/>\n",
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"199.6\" y=\"-89.8\">a</text>\n",
"</g>\n",
"</g>\n",
"</svg>"
],
"text": [
"<IPython.core.display.SVG object>"
]
}
],
"prompt_number": 7
}
],
"metadata": {}
}
]
}