python: render <svg> via _repr_html_
Work around a recent decision in Jupyter Lab and Notebook to render <svg> is inline <img>, breaking tooltips or text selection. (Rerendering all notebooks was painful.) * NEWS: Mention the change. * python/spot/__init__.py: Add a _repr_html_ method to all classes that had a _repr_svg_. It seems Jupyter will use _repr_html_ by default. * python/spot/jupyter.py: SVG replace the _repr_svg_ method by a _repr_html. * tests/python/_altscc.ipynb, tests/python/_autparserr.ipynb, tests/python/_aux.ipynb, tests/python/_mealy.ipynb, tests/python/_partitioned_relabel.ipynb, tests/python/_product_susp.ipynb, tests/python/_product_weak.ipynb, tests/python/_synthesis.ipynb, tests/python/aliases.ipynb, tests/python/alternation.ipynb, tests/python/atva16-fig2a.ipynb, tests/python/atva16-fig2b.ipynb, tests/python/automata-io.ipynb, tests/python/automata.ipynb, tests/python/cav22-figs.ipynb, tests/python/contains.ipynb, tests/python/decompose.ipynb, tests/python/formulas.ipynb, tests/python/games.ipynb, tests/python/gen.ipynb, tests/python/highlighting.ipynb, tests/python/ltsmin-dve.ipynb, tests/python/ltsmin-pml.ipynb, tests/python/parity.ipynb, tests/python/product.ipynb, tests/python/randaut.ipynb, tests/python/satmin.ipynb, tests/python/stutter-inv.ipynb, tests/python/synthesis.ipynb, tests/python/testingaut.ipynb, tests/python/twagraph-internals.ipynb, tests/python/word.ipynb, tests/python/zlktree.ipynb: Update all notebooks.
This commit is contained in:
parent
4cf7503fff
commit
3034e8fcc3
36 changed files with 43249 additions and 8585 deletions
|
|
@ -40,8 +40,8 @@
|
|||
"SpinS Promela Compiler - version 1.1 (3-Feb-2015)\n",
|
||||
"(C) University of Twente, Formal Methods and Tools group\n",
|
||||
"\n",
|
||||
"Parsing tmpwot5yb9c.pml...\n",
|
||||
"Parsing tmpwot5yb9c.pml done (0.0 sec)\n",
|
||||
"Parsing tmpl3q0izvh.pml...\n",
|
||||
"Parsing tmpl3q0izvh.pml done (0.0 sec)\n",
|
||||
"\n",
|
||||
"Optimizing graphs...\n",
|
||||
" StateMerging changed 0 states/transitions.\n",
|
||||
|
|
@ -84,8 +84,8 @@
|
|||
" Found 2 / 2 (100.0%) Commuting actions \n",
|
||||
"Generating guard dependency matrices done (0.0 sec)\n",
|
||||
"\n",
|
||||
"Written C code to /home/adl/git/spot/tests/python/tmpwot5yb9c.pml.spins.c\n",
|
||||
"Compiled C code to PINS library tmpwot5yb9c.pml.spins\n",
|
||||
"Written C code to /home/adl/git/spot/tests/python/tmpl3q0izvh.pml.spins.c\n",
|
||||
"Compiled C code to PINS library tmpl3q0izvh.pml.spins\n",
|
||||
"\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -418,8 +418,280 @@
|
|||
"</g>\n",
|
||||
"</svg>\n"
|
||||
],
|
||||
"text/html": [
|
||||
"<?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.43.0 (0)\n",
|
||||
" -->\n",
|
||||
"<!-- Pages: 1 -->\n",
|
||||
"<svg width=\"729pt\" height=\"134pt\"\n",
|
||||
" viewBox=\"0.00 0.00 729.00 133.64\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
|
||||
"<g id=\"graph0\" class=\"graph\" transform=\"scale(0.4629629629629629 0.4629629629629629) rotate(0) translate(4 284)\">\n",
|
||||
"<polygon fill=\"white\" stroke=\"transparent\" points=\"-4,4 -4,-284 1567,-284 1567,4 -4,4\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"778.5\" y=\"-264.8\" font-family=\"Lato\" font-size=\"14.00\">t</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"770.5\" y=\"-249.8\" font-family=\"Lato\" font-size=\"14.00\">[all]</text>\n",
|
||||
"<!-- I -->\n",
|
||||
"<!-- 0 -->\n",
|
||||
"<g id=\"node2\" class=\"node\">\n",
|
||||
"<title>0</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M249,-140C249,-140 49,-140 49,-140 43,-140 37,-134 37,-128 37,-128 37,-114 37,-114 37,-108 43,-102 49,-102 49,-102 249,-102 249,-102 255,-102 261,-108 261,-114 261,-114 261,-128 261,-128 261,-134 255,-140 249,-140\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"60\" y=\"-124.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=0, P_0.b=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"45\" y=\"-109.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & !"P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- I->0 -->\n",
|
||||
"<g id=\"edge1\" class=\"edge\">\n",
|
||||
"<title>I->0</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1.11,-121C2.32,-121 13.71,-121 29.67,-121\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"36.78,-121 29.78,-124.15 33.28,-121 29.78,-121 29.78,-121 29.78,-121 33.28,-121 29.78,-117.85 36.78,-121 36.78,-121\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1 -->\n",
|
||||
"<g id=\"node3\" class=\"node\">\n",
|
||||
"<title>1</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M509,-168C509,-168 309,-168 309,-168 303,-168 297,-162 297,-156 297,-156 297,-142 297,-142 297,-136 303,-130 309,-130 309,-130 509,-130 509,-130 515,-130 521,-136 521,-142 521,-142 521,-156 521,-156 521,-162 515,-168 509,-168\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"320\" y=\"-152.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=1, P_0.b=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"305\" y=\"-137.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & !"P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g id=\"edge2\" class=\"edge\">\n",
|
||||
"<title>0->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M261.29,-133.08C270.63,-134.09 280.11,-135.12 289.5,-136.14\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"296.67,-136.92 289.37,-139.29 293.19,-136.54 289.71,-136.16 289.71,-136.16 289.71,-136.16 293.19,-136.54 290.05,-133.03 296.67,-136.92 296.67,-136.92\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M509,-112C509,-112 309,-112 309,-112 303,-112 297,-106 297,-100 297,-100 297,-86 297,-86 297,-80 303,-74 309,-74 309,-74 509,-74 509,-74 515,-74 521,-80 521,-86 521,-86 521,-100 521,-100 521,-106 515,-112 509,-112\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"320\" y=\"-96.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=0, P_0.b=1</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"305\" y=\"-81.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & !"P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge3\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M261.29,-108.92C270.63,-107.91 280.11,-106.88 289.5,-105.86\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"296.67,-105.08 290.05,-108.97 293.19,-105.46 289.71,-105.84 289.71,-105.84 289.71,-105.84 293.19,-105.46 289.37,-102.71 296.67,-105.08 296.67,-105.08\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3 -->\n",
|
||||
"<g id=\"node5\" class=\"node\">\n",
|
||||
"<title>3</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M772,-196C772,-196 569,-196 569,-196 563,-196 557,-190 557,-184 557,-184 557,-170 557,-170 557,-164 563,-158 569,-158 569,-158 772,-158 772,-158 778,-158 784,-164 784,-170 784,-170 784,-184 784,-184 784,-190 778,-196 772,-196\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"581.5\" y=\"-180.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=2, P_0.b=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"565\" y=\"-165.8\" font-family=\"Lato\" font-size=\"14.00\">!"P_0.a < 2" & !"P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->3 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>1->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M521.18,-161C530.7,-162.02 540.36,-163.07 549.94,-164.1\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"556.9,-164.85 549.6,-167.23 553.42,-164.47 549.94,-164.1 549.94,-164.1 549.94,-164.1 553.42,-164.47 550.28,-160.97 556.9,-164.85 556.9,-164.85\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4 -->\n",
|
||||
"<g id=\"node6\" class=\"node\">\n",
|
||||
"<title>4</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M770.5,-140C770.5,-140 570.5,-140 570.5,-140 564.5,-140 558.5,-134 558.5,-128 558.5,-128 558.5,-114 558.5,-114 558.5,-108 564.5,-102 570.5,-102 570.5,-102 770.5,-102 770.5,-102 776.5,-102 782.5,-108 782.5,-114 782.5,-114 782.5,-128 782.5,-128 782.5,-134 776.5,-140 770.5,-140\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"581.5\" y=\"-124.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=1, P_0.b=1</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"566.5\" y=\"-109.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & !"P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->4 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>1->4</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M521.18,-137C531.03,-135.94 541.03,-134.86 550.94,-133.79\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"558.14,-133.02 551.52,-136.9 554.66,-133.39 551.18,-133.77 551.18,-133.77 551.18,-133.77 554.66,-133.39 550.84,-130.64 558.14,-133.02 558.14,-133.02\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->4 -->\n",
|
||||
"<g id=\"edge6\" class=\"edge\">\n",
|
||||
"<title>2->4</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M521.18,-105C531.03,-106.06 541.03,-107.14 550.94,-108.21\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"558.14,-108.98 550.84,-111.36 554.66,-108.61 551.18,-108.23 551.18,-108.23 551.18,-108.23 554.66,-108.61 551.52,-105.1 558.14,-108.98 558.14,-108.98\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5 -->\n",
|
||||
"<g id=\"node7\" class=\"node\">\n",
|
||||
"<title>5</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M768.5,-84C768.5,-84 572.5,-84 572.5,-84 566.5,-84 560.5,-78 560.5,-72 560.5,-72 560.5,-58 560.5,-58 560.5,-52 566.5,-46 572.5,-46 572.5,-46 768.5,-46 768.5,-46 774.5,-46 780.5,-52 780.5,-58 780.5,-58 780.5,-72 780.5,-72 780.5,-78 774.5,-84 768.5,-84\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"581.5\" y=\"-68.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=0, P_0.b=2</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"568.5\" y=\"-53.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & "P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->5 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->5</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M521.18,-81C531.79,-79.86 542.56,-78.7 553.22,-77.55\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"560.2,-76.79 553.58,-80.68 556.72,-77.17 553.24,-77.54 553.24,-77.54 553.24,-77.54 556.72,-77.17 552.9,-74.41 560.2,-76.79 560.2,-76.79\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 6 -->\n",
|
||||
"<g id=\"node8\" class=\"node\">\n",
|
||||
"<title>6</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1033.5,-224C1033.5,-224 833.5,-224 833.5,-224 827.5,-224 821.5,-218 821.5,-212 821.5,-212 821.5,-198 821.5,-198 821.5,-192 827.5,-186 833.5,-186 833.5,-186 1033.5,-186 1033.5,-186 1039.5,-186 1045.5,-192 1045.5,-198 1045.5,-198 1045.5,-212 1045.5,-212 1045.5,-218 1039.5,-224 1033.5,-224\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"844.5\" y=\"-208.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=3, P_0.b=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"829.5\" y=\"-193.8\" font-family=\"Lato\" font-size=\"14.00\">!"P_0.a < 2" & !"P_0.b > 1" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->6 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\">\n",
|
||||
"<title>3->6</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M784.08,-189.08C793.96,-190.14 803.98,-191.21 813.91,-192.28\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"821.12,-193.05 813.82,-195.44 817.64,-192.68 814.16,-192.3 814.16,-192.3 814.16,-192.3 817.64,-192.68 814.5,-189.17 821.12,-193.05 821.12,-193.05\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 7 -->\n",
|
||||
"<g id=\"node9\" class=\"node\">\n",
|
||||
"<title>7</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1035,-168C1035,-168 832,-168 832,-168 826,-168 820,-162 820,-156 820,-156 820,-142 820,-142 820,-136 826,-130 832,-130 832,-130 1035,-130 1035,-130 1041,-130 1047,-136 1047,-142 1047,-142 1047,-156 1047,-156 1047,-162 1041,-168 1035,-168\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"844.5\" y=\"-152.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=2, P_0.b=1</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"828\" y=\"-137.8\" font-family=\"Lato\" font-size=\"14.00\">!"P_0.a < 2" & !"P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->7 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\">\n",
|
||||
"<title>3->7</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M784.08,-164.92C793.63,-163.9 803.31,-162.86 812.91,-161.83\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"819.88,-161.08 813.25,-164.96 816.4,-161.46 812.92,-161.83 812.92,-161.83 812.92,-161.83 816.4,-161.46 812.58,-158.7 819.88,-161.08 819.88,-161.08\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4->7 -->\n",
|
||||
"<g id=\"edge10\" class=\"edge\">\n",
|
||||
"<title>4->7</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M782.57,-132.92C792.6,-133.99 802.79,-135.08 812.89,-136.17\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"819.87,-136.92 812.57,-139.3 816.39,-136.54 812.91,-136.17 812.91,-136.17 812.91,-136.17 816.39,-136.54 813.24,-133.04 819.87,-136.92 819.87,-136.92\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 8 -->\n",
|
||||
"<g id=\"node10\" class=\"node\">\n",
|
||||
"<title>8</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1031.5,-112C1031.5,-112 835.5,-112 835.5,-112 829.5,-112 823.5,-106 823.5,-100 823.5,-100 823.5,-86 823.5,-86 823.5,-80 829.5,-74 835.5,-74 835.5,-74 1031.5,-74 1031.5,-74 1037.5,-74 1043.5,-80 1043.5,-86 1043.5,-86 1043.5,-100 1043.5,-100 1043.5,-106 1037.5,-112 1031.5,-112\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"844.5\" y=\"-96.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=1, P_0.b=2</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"831.5\" y=\"-81.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & "P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4->8 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\">\n",
|
||||
"<title>4->8</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M782.57,-109.08C793.61,-107.9 804.84,-106.7 815.93,-105.51\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"823.2,-104.73 816.57,-108.6 819.72,-105.1 816.24,-105.47 816.24,-105.47 816.24,-105.47 819.72,-105.1 815.9,-102.34 823.2,-104.73 823.2,-104.73\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5->8 -->\n",
|
||||
"<g id=\"edge12\" class=\"edge\">\n",
|
||||
"<title>5->8</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M780.68,-76.71C792.47,-77.98 804.5,-79.27 816.37,-80.54\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"823.34,-81.29 816.05,-83.67 819.86,-80.92 816.38,-80.54 816.38,-80.54 816.38,-80.54 819.86,-80.92 816.72,-77.41 823.34,-81.29 823.34,-81.29\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 9 -->\n",
|
||||
"<g id=\"node11\" class=\"node\">\n",
|
||||
"<title>9</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1029.5,-38C1029.5,-38 837.5,-38 837.5,-38 831.5,-38 825.5,-32 825.5,-26 825.5,-26 825.5,-12 825.5,-12 825.5,-6 831.5,0 837.5,0 837.5,0 1029.5,0 1029.5,0 1035.5,0 1041.5,-6 1041.5,-12 1041.5,-12 1041.5,-26 1041.5,-26 1041.5,-32 1035.5,-38 1029.5,-38\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"844.5\" y=\"-22.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=0, P_0.b=3</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"833.5\" y=\"-7.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & "P_0.b > 1" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5->9 -->\n",
|
||||
"<g id=\"edge13\" class=\"edge\">\n",
|
||||
"<title>5->9</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M779.54,-45.96C792.32,-43.71 805.4,-41.4 818.26,-39.13\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"825.38,-37.88 819.03,-42.2 821.93,-38.49 818.49,-39.09 818.49,-39.09 818.49,-39.09 821.93,-38.49 817.94,-35.99 825.38,-37.88 825.38,-37.88\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 6->6 -->\n",
|
||||
"<g id=\"edge14\" class=\"edge\">\n",
|
||||
"<title>6->6</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M886.19,-224.04C879.64,-233.53 895.41,-242 933.5,-242 961.47,-242 977.4,-237.43 981.3,-231.25\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"980.81,-224.04 984.43,-230.81 981.05,-227.53 981.29,-231.02 981.29,-231.02 981.29,-231.02 981.05,-227.53 978.14,-231.24 980.81,-224.04 980.81,-224.04\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 10 -->\n",
|
||||
"<g id=\"node12\" class=\"node\">\n",
|
||||
"<title>10</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1295,-196C1295,-196 1095,-196 1095,-196 1089,-196 1083,-190 1083,-184 1083,-184 1083,-170 1083,-170 1083,-164 1089,-158 1095,-158 1095,-158 1295,-158 1295,-158 1301,-158 1307,-164 1307,-170 1307,-170 1307,-184 1307,-184 1307,-190 1301,-196 1295,-196\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"1106\" y=\"-180.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=3, P_0.b=1</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"1091\" y=\"-165.8\" font-family=\"Lato\" font-size=\"14.00\">!"P_0.a < 2" & !"P_0.b > 1" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 7->10 -->\n",
|
||||
"<g id=\"edge15\" class=\"edge\">\n",
|
||||
"<title>7->10</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1047.19,-161.16C1056.56,-162.17 1066.06,-163.19 1075.47,-164.21\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1082.65,-164.99 1075.36,-167.37 1079.17,-164.61 1075.69,-164.23 1075.69,-164.23 1075.69,-164.23 1079.17,-164.61 1076.03,-161.1 1082.65,-164.99 1082.65,-164.99\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 11 -->\n",
|
||||
"<g id=\"node13\" class=\"node\">\n",
|
||||
"<title>11</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1295,-140C1295,-140 1095,-140 1095,-140 1089,-140 1083,-134 1083,-128 1083,-128 1083,-114 1083,-114 1083,-108 1089,-102 1095,-102 1095,-102 1295,-102 1295,-102 1301,-102 1307,-108 1307,-114 1307,-114 1307,-128 1307,-128 1307,-134 1301,-140 1295,-140\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"1106\" y=\"-124.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=2, P_0.b=2</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"1091\" y=\"-109.8\" font-family=\"Lato\" font-size=\"14.00\">!"P_0.a < 2" & "P_0.b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 7->11 -->\n",
|
||||
"<g id=\"edge16\" class=\"edge\">\n",
|
||||
"<title>7->11</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1047.19,-136.84C1056.56,-135.83 1066.06,-134.81 1075.47,-133.79\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1082.65,-133.01 1076.03,-136.9 1079.17,-133.39 1075.69,-133.77 1075.69,-133.77 1075.69,-133.77 1079.17,-133.39 1075.36,-130.63 1082.65,-133.01 1082.65,-133.01\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 8->11 -->\n",
|
||||
"<g id=\"edge17\" class=\"edge\">\n",
|
||||
"<title>8->11</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1043.8,-104.79C1054.37,-105.93 1065.12,-107.09 1075.77,-108.24\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1082.75,-109 1075.45,-111.38 1079.27,-108.62 1075.79,-108.24 1075.79,-108.24 1075.79,-108.24 1079.27,-108.62 1076.13,-105.11 1082.75,-109 1082.75,-109\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 12 -->\n",
|
||||
"<g id=\"node14\" class=\"node\">\n",
|
||||
"<title>12</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1291,-66C1291,-66 1099,-66 1099,-66 1093,-66 1087,-60 1087,-54 1087,-54 1087,-40 1087,-40 1087,-34 1093,-28 1099,-28 1099,-28 1291,-28 1291,-28 1297,-28 1303,-34 1303,-40 1303,-40 1303,-54 1303,-54 1303,-60 1297,-66 1291,-66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"1106\" y=\"-50.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=1, P_0.b=3</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"1095\" y=\"-35.8\" font-family=\"Lato\" font-size=\"14.00\">"P_0.a < 2" & "P_0.b > 1" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 8->12 -->\n",
|
||||
"<g id=\"edge18\" class=\"edge\">\n",
|
||||
"<title>8->12</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1041.92,-73.96C1054.39,-71.75 1067.15,-69.49 1079.71,-67.26\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1086.66,-66.03 1080.32,-70.35 1083.21,-66.64 1079.77,-67.25 1079.77,-67.25 1079.77,-67.25 1083.21,-66.64 1079.22,-64.15 1086.66,-66.03 1086.66,-66.03\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 9->9 -->\n",
|
||||
"<g id=\"edge19\" class=\"edge\">\n",
|
||||
"<title>9->9</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M886.19,-38.04C879.64,-47.53 895.41,-56 933.5,-56 961.47,-56 977.4,-51.43 981.3,-45.25\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"980.81,-38.04 984.43,-44.81 981.05,-41.53 981.29,-45.02 981.29,-45.02 981.29,-45.02 981.05,-41.53 978.14,-45.24 980.81,-38.04 980.81,-38.04\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 10->10 -->\n",
|
||||
"<g id=\"edge20\" class=\"edge\">\n",
|
||||
"<title>10->10</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1148.05,-196.04C1141.56,-205.53 1157.21,-214 1195,-214 1222.75,-214 1238.57,-209.43 1242.43,-203.25\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1241.95,-196.04 1245.56,-202.81 1242.18,-199.53 1242.42,-203.02 1242.42,-203.02 1242.42,-203.02 1242.18,-199.53 1239.28,-203.23 1241.95,-196.04 1241.95,-196.04\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 13 -->\n",
|
||||
"<g id=\"node15\" class=\"node\">\n",
|
||||
"<title>13</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1551,-177C1551,-177 1355,-177 1355,-177 1349,-177 1343,-171 1343,-165 1343,-165 1343,-151 1343,-151 1343,-145 1349,-139 1355,-139 1355,-139 1551,-139 1551,-139 1557,-139 1563,-145 1563,-151 1563,-151 1563,-165 1563,-165 1563,-171 1557,-177 1551,-177\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"1364\" y=\"-161.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=3, P_0.b=2</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"1351\" y=\"-146.8\" font-family=\"Lato\" font-size=\"14.00\">!"P_0.a < 2" & "P_0.b > 1" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 11->13 -->\n",
|
||||
"<g id=\"edge21\" class=\"edge\">\n",
|
||||
"<title>11->13</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1307.17,-137.07C1316.72,-138.45 1326.41,-139.85 1336,-141.23\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1342.96,-142.24 1335.58,-144.36 1339.5,-141.74 1336.04,-141.24 1336.04,-141.24 1336.04,-141.24 1339.5,-141.74 1336.49,-138.12 1342.96,-142.24 1342.96,-142.24\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 14 -->\n",
|
||||
"<g id=\"node16\" class=\"node\">\n",
|
||||
"<title>14</title>\n",
|
||||
"<path fill=\"#ffffaa\" stroke=\"black\" d=\"M1551,-103C1551,-103 1355,-103 1355,-103 1349,-103 1343,-97 1343,-91 1343,-91 1343,-77 1343,-77 1343,-71 1349,-65 1355,-65 1355,-65 1551,-65 1551,-65 1557,-65 1563,-71 1563,-77 1563,-77 1563,-91 1563,-91 1563,-97 1557,-103 1551,-103\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"1364\" y=\"-87.8\" font-family=\"Lato\" font-size=\"14.00\">P_0._pc=0, P_0.a=2, P_0.b=3</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"1351\" y=\"-72.8\" font-family=\"Lato\" font-size=\"14.00\">!"P_0.a < 2" & "P_0.b > 1" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 11->14 -->\n",
|
||||
"<g id=\"edge22\" class=\"edge\">\n",
|
||||
"<title>11->14</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1307.17,-104.93C1316.72,-103.55 1326.41,-102.15 1336,-100.77\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1342.96,-99.76 1336.49,-103.88 1339.5,-100.26 1336.04,-100.76 1336.04,-100.76 1336.04,-100.76 1339.5,-100.26 1335.58,-97.64 1342.96,-99.76 1342.96,-99.76\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 12->12 -->\n",
|
||||
"<g id=\"edge23\" class=\"edge\">\n",
|
||||
"<title>12->12</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1148.05,-66.04C1141.56,-75.53 1157.21,-84 1195,-84 1222.75,-84 1238.57,-79.43 1242.43,-73.25\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1241.95,-66.04 1245.56,-72.81 1242.18,-69.53 1242.42,-73.02 1242.42,-73.02 1242.42,-73.02 1242.18,-69.53 1239.28,-73.23 1241.95,-66.04 1241.95,-66.04\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 13->13 -->\n",
|
||||
"<g id=\"edge24\" class=\"edge\">\n",
|
||||
"<title>13->13</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1406.05,-177.04C1399.56,-186.53 1415.21,-195 1453,-195 1480.75,-195 1496.57,-190.43 1500.43,-184.25\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1499.95,-177.04 1503.56,-183.81 1500.18,-180.53 1500.42,-184.02 1500.42,-184.02 1500.42,-184.02 1500.18,-180.53 1497.28,-184.23 1499.95,-177.04 1499.95,-177.04\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 14->14 -->\n",
|
||||
"<g id=\"edge25\" class=\"edge\">\n",
|
||||
"<title>14->14</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1406.05,-103.04C1399.56,-112.53 1415.21,-121 1453,-121 1480.75,-121 1496.57,-116.43 1500.43,-110.25\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1499.95,-103.04 1503.56,-109.81 1500.18,-106.53 1500.42,-110.02 1500.42,-110.02 1500.42,-110.02 1500.18,-106.53 1497.28,-110.23 1499.95,-103.04 1499.95,-103.04\"/>\n",
|
||||
"</g>\n",
|
||||
"</g>\n",
|
||||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7f7f9849ee20> >"
|
||||
"<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7f44c85cf300> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 4,
|
||||
|
|
@ -452,7 +724,7 @@
|
|||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"image/svg+xml": [
|
||||
"text/html": [
|
||||
"<?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",
|
||||
|
|
@ -781,7 +1053,7 @@
|
|||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"image/svg+xml": [
|
||||
"text/html": [
|
||||
"<?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",
|
||||
|
|
@ -1313,7 +1585,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.10.5"
|
||||
"version": "3.11.7"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue