replace bdd_satoneset(x,y,bddtrue) loops by minterms_of(x,y)
Because the loops iterate in the opposite order, multiple test cases need to be adjusted. * spot/taalgos/tgba2ta.cc, spot/twaalgos/alternation.cc, spot/twaalgos/dualize.cc, spot/twaalgos/ltl2tgba_fm.cc, spot/twaalgos/simulation.cc, spot/twaalgos/stutter.cc, spot/twaalgos/toweak.cc: Replace loops based on bdd_satonest(x,y,bddtrue) by loops based on minterms_of(x,y). * tests/core/degenscc.test, tests/core/dualize.test, tests/core/genltl.test, tests/core/readsave.test, tests/python/alternation.ipynb, tests/python/automata.ipynb, tests/python/decompose.ipynb, tests/python/decompose_scc.py, tests/python/dualize.py, tests/python/sccinfo.py, tests/python/simstate.py, tests/python/testingaut.ipynb, tests/python/word.ipynb: Adjust expected test cases. The only regression is in genltl.test, but the worsened case should eventually be fixed as discussed in issue #425 anyway.
This commit is contained in:
parent
d54dca610e
commit
2a38328a5c
20 changed files with 1315 additions and 1432 deletions
|
|
@ -61,11 +61,11 @@
|
|||
"</g>\n",
|
||||
"<g id=\"clust2\" class=\"cluster\">\n",
|
||||
"<title>cluster_1</title>\n",
|
||||
"<polygon fill=\"none\" stroke=\"green\" points=\"162,-8 162,-108 214,-108 214,-8 162,-8\"/>\n",
|
||||
"<polygon fill=\"none\" stroke=\"red\" points=\"265,-148 265,-233 317,-233 317,-148 265,-148\"/>\n",
|
||||
"</g>\n",
|
||||
"<g id=\"clust3\" class=\"cluster\">\n",
|
||||
"<title>cluster_2</title>\n",
|
||||
"<polygon fill=\"none\" stroke=\"red\" points=\"265,-148 265,-233 317,-233 317,-148 265,-148\"/>\n",
|
||||
"<polygon fill=\"none\" stroke=\"green\" points=\"162,-8 162,-108 214,-108 214,-8 162,-8\"/>\n",
|
||||
"</g>\n",
|
||||
"<g id=\"clust4\" class=\"cluster\">\n",
|
||||
"<title>cluster_3</title>\n",
|
||||
|
|
@ -105,28 +105,28 @@
|
|||
"<polygon fill=\"black\" stroke=\"black\" points=\"358.61,-163.72 351.01,-162.65 355.65,-161.85 352.69,-159.99 352.69,-159.99 352.69,-159.99 355.65,-161.85 354.37,-157.32 358.61,-163.72 358.61,-163.72\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"236\" y=\"-138.8\" font-family=\"Lato\" font-size=\"14.00\">c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M63.71,-144.67C69.74,-131.35 79.55,-112.57 92,-99 113.33,-75.75 144.49,-56.45 165.24,-45.07\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.59,-41.66 166.91,-47.75 168.5,-43.32 165.42,-44.98 165.42,-44.98 165.42,-44.98 168.5,-43.32 163.93,-42.2 171.59,-41.66 171.59,-41.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-102.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3 -->\n",
|
||||
"<g id=\"node6\" class=\"node\">\n",
|
||||
"<g id=\"node5\" class=\"node\">\n",
|
||||
"<title>3</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-176\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-172.3\" font-family=\"Lato\" font-size=\"14.00\">3</text>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">3</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->3 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>0->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M63.71,-144.67C69.74,-131.35 79.55,-112.57 92,-99 113.33,-75.75 144.49,-56.45 165.24,-45.07\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.59,-41.66 166.91,-47.75 168.5,-43.32 165.42,-44.98 165.42,-44.98 165.42,-44.98 168.5,-43.32 163.93,-42.2 171.59,-41.66 171.59,-41.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-102.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node6\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-176\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-172.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M74.01,-159.31C93.17,-157.84 125.14,-156.68 152,-162 156.19,-162.83 160.53,-164.15 164.66,-165.65\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.35,-168.3 163.68,-168.66 168.1,-167.02 164.84,-165.73 164.84,-165.73 164.84,-165.73 168.1,-167.02 166,-162.8 171.35,-168.3 171.35,-168.3\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"104.5\" y=\"-165.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -139,16 +139,8 @@
|
|||
"<text text-anchor=\"start\" x=\"369.5\" y=\"-228.8\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"366\" y=\"-213.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-49.92C177.11,-60.15 179.99,-70 188,-70 194.13,-70 197.25,-64.23 197.37,-56.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-49.92 200.5,-56.55 197,-53.4 197.37,-56.88 197.37,-56.88 197.37,-56.88 197,-53.4 194.23,-57.21 196.63,-49.92 196.63,-49.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4 -->\n",
|
||||
"<g id=\"node5\" class=\"node\">\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>4</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"291\" cy=\"-174\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"291\" y=\"-170.3\" font-family=\"Lato\" font-size=\"14.00\">4</text>\n",
|
||||
|
|
@ -167,31 +159,39 @@
|
|||
"<polygon fill=\"black\" stroke=\"black\" points=\"298.03,-190.66 301.6,-197.46 298.24,-194.16 298.46,-197.65 298.46,-197.65 298.46,-197.65 298.24,-194.16 295.31,-197.84 298.03,-190.66 298.03,-190.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"287.5\" y=\"-213.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->0 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\">\n",
|
||||
"<title>3->0</title>\n",
|
||||
"<!-- 3->3 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\">\n",
|
||||
"<title>3->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-49.92C177.11,-60.15 179.99,-70 188,-70 194.13,-70 197.25,-64.23 197.37,-56.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-49.92 200.5,-56.55 197,-53.4 197.37,-56.88 197.37,-56.88 197.37,-56.88 197,-53.4 194.23,-57.21 196.63,-49.92 196.63,-49.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->0 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->0</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M169.95,-178.44C150.76,-180.68 118.75,-182.83 92,-177 87.54,-176.03 82.98,-174.44 78.67,-172.63\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"72.18,-169.66 79.86,-169.71 75.37,-171.12 78.55,-172.57 78.55,-172.57 78.55,-172.57 75.37,-171.12 77.24,-175.44 72.18,-169.66 72.18,-169.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"102.5\" y=\"-198.8\" font-family=\"Lato\" font-size=\"14.00\">!a & !c</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"114\" y=\"-183.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->1 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\">\n",
|
||||
"<title>3->1</title>\n",
|
||||
"<!-- 2->1 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\">\n",
|
||||
"<title>2->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M200.26,-189.33C213.84,-204.25 238.19,-227.57 265,-237 286.8,-244.67 295.92,-246.47 317,-237 335.81,-228.55 350.87,-210.33 360.62,-195.64\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"364.47,-189.6 363.36,-197.2 362.59,-192.55 360.71,-195.5 360.71,-195.5 360.71,-195.5 362.59,-192.55 358.05,-193.81 364.47,-189.6 364.47,-189.6\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"273.5\" y=\"-246.8\" font-family=\"Lato\" font-size=\"14.00\">!a & c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->4 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\">\n",
|
||||
"<title>3->4</title>\n",
|
||||
"<!-- 2->4 -->\n",
|
||||
"<g id=\"edge10\" class=\"edge\">\n",
|
||||
"<title>2->4</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M206.13,-175.66C222.38,-175.34 246.98,-174.85 265.34,-174.49\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"272.78,-174.34 265.85,-177.63 269.28,-174.41 265.78,-174.48 265.78,-174.48 265.78,-174.48 269.28,-174.41 265.72,-171.33 272.78,-174.34 272.78,-174.34\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"224\" y=\"-178.8\" font-family=\"Lato\" font-size=\"14.00\">a & c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->3 -->\n",
|
||||
"<g id=\"edge10\" class=\"edge\">\n",
|
||||
"<title>3->3</title>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-191.92C177.11,-202.15 179.99,-212 188,-212 194.13,-212 197.25,-206.23 197.37,-198.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-191.92 200.5,-198.55 197,-195.4 197.37,-198.88 197.37,-198.88 197.37,-198.88 197,-195.4 194.23,-199.21 196.63,-191.92 196.63,-191.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"170.5\" y=\"-215.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -200,7 +200,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc092f00> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01ba3c0> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 2,
|
||||
|
|
@ -278,50 +278,50 @@
|
|||
"<polygon fill=\"black\" stroke=\"black\" points=\"62.38,-159.04 65.85,-165.88 62.54,-162.53 62.71,-166.03 62.71,-166.03 62.71,-166.03 62.54,-162.53 59.56,-166.18 62.38,-159.04 62.38,-159.04\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"36.5\" y=\"-181.8\" font-family=\"Lato\" font-size=\"14.00\">!a & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1 -->\n",
|
||||
"<g id=\"node3\" class=\"node\">\n",
|
||||
"<title>1</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g id=\"edge3\" class=\"edge\">\n",
|
||||
"<title>0->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M70.42,-130.85C93.58,-111.61 141.12,-72.11 167.78,-49.96\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"173.46,-45.25 170.08,-52.15 170.76,-47.49 168.07,-49.73 168.07,-49.73 168.07,-49.73 170.76,-47.49 166.06,-47.3 173.46,-45.25 173.46,-45.25\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-113.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<g id=\"node3\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-143\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-139.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M70.42,-130.85C93.58,-111.61 141.12,-72.11 167.78,-49.96\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"173.46,-45.25 170.08,-52.15 170.76,-47.49 168.07,-49.73 168.07,-49.73 168.07,-49.73 170.76,-47.49 166.06,-47.3 173.46,-45.25 173.46,-45.25\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-113.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>1</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-143\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-139.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g id=\"edge3\" class=\"edge\">\n",
|
||||
"<title>0->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M74.26,-142.13C96.89,-142.31 136.73,-142.61 162.48,-142.81\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"169.67,-142.87 162.64,-145.96 166.17,-142.84 162.67,-142.81 162.67,-142.81 162.67,-142.81 166.17,-142.84 162.69,-139.66 169.67,-142.87 169.67,-142.87\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"104.5\" y=\"-145.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->1 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>1->1</title>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M177.09,-48.42C173.28,-59.17 176.91,-70 188,-70 196.66,-70 200.78,-63.39 200.34,-55.37\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"198.91,-48.42 203.41,-54.64 199.62,-51.84 200.32,-55.27 200.32,-55.27 200.32,-55.27 199.62,-51.84 197.24,-55.91 198.91,-48.42 198.91,-48.42\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->0 -->\n",
|
||||
"<g id=\"edge6\" class=\"edge\">\n",
|
||||
"<title>2->0</title>\n",
|
||||
"<!-- 1->0 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>1->0</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M171.76,-151.12C165.77,-153.88 158.73,-156.62 152,-158 125.88,-163.36 118.06,-163.67 92,-158 87.54,-157.03 82.98,-155.44 78.67,-153.63\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"72.18,-150.66 79.86,-150.71 75.37,-152.12 78.55,-153.57 78.55,-153.57 78.55,-153.57 75.37,-152.12 77.24,-156.44 72.18,-150.66 72.18,-150.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"102.5\" y=\"-165.8\" font-family=\"Lato\" font-size=\"14.00\">!a & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<!-- 1->1 -->\n",
|
||||
"<g id=\"edge6\" class=\"edge\">\n",
|
||||
"<title>1->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M177.09,-157.42C173.28,-168.17 176.91,-179 188,-179 196.66,-179 200.78,-172.39 200.34,-164.37\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"198.91,-157.42 203.41,-163.64 199.62,-160.84 200.32,-164.27 200.32,-164.27 200.32,-164.27 199.62,-160.84 197.24,-164.91 198.91,-157.42 198.91,-157.42\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"170.5\" y=\"-182.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -330,7 +330,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc211360> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01ba2a0> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 3,
|
||||
|
|
@ -489,7 +489,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc23f3c0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01ba1b0> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 4,
|
||||
|
|
@ -587,7 +587,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea4e0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01ba9c0> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 5,
|
||||
|
|
@ -669,7 +669,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea840> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6240> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 6,
|
||||
|
|
@ -743,51 +743,51 @@
|
|||
"<text text-anchor=\"start\" x=\"36.5\" y=\"-196.8\" font-family=\"Lato\" font-size=\"14.00\">!a & !c</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"48\" y=\"-181.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1 -->\n",
|
||||
"<g id=\"node3\" class=\"node\">\n",
|
||||
"<title>1</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g id=\"edge3\" class=\"edge\">\n",
|
||||
"<title>0->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M70.42,-130.85C93.58,-111.61 141.12,-72.11 167.78,-49.96\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"173.46,-45.25 170.08,-52.15 170.76,-47.49 168.07,-49.73 168.07,-49.73 168.07,-49.73 170.76,-47.49 166.06,-47.3 173.46,-45.25 173.46,-45.25\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-113.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<g id=\"node3\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-150\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-146.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M70.42,-130.85C93.58,-111.61 141.12,-72.11 167.78,-49.96\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"173.46,-45.25 170.08,-52.15 170.76,-47.49 168.07,-49.73 168.07,-49.73 168.07,-49.73 170.76,-47.49 166.06,-47.3 173.46,-45.25 173.46,-45.25\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-113.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>1</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-150\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-146.3\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g id=\"edge3\" class=\"edge\">\n",
|
||||
"<title>0->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M74.22,-141.22C93.29,-140.58 124.93,-140.18 152,-143 155.68,-143.38 159.55,-143.97 163.32,-144.64\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"170.36,-146.01 162.89,-147.77 166.93,-145.34 163.49,-144.68 163.49,-144.68 163.49,-144.68 166.93,-145.34 164.09,-141.58 170.36,-146.01 170.36,-146.01\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"104.5\" y=\"-146.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->1 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>1->1</title>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M177.09,-48.42C173.28,-59.17 176.91,-70 188,-70 196.66,-70 200.78,-63.39 200.34,-55.37\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"198.91,-48.42 203.41,-54.64 199.62,-51.84 200.32,-55.27 200.32,-55.27 200.32,-55.27 199.62,-51.84 197.24,-55.91 198.91,-48.42 198.91,-48.42\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->0 -->\n",
|
||||
"<g id=\"edge6\" class=\"edge\">\n",
|
||||
"<title>2->0</title>\n",
|
||||
"<!-- 1->0 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>1->0</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M170.4,-154.6C164.62,-155.98 158.07,-157.32 152,-158 125.5,-160.99 118.06,-163.67 92,-158 87.54,-157.03 82.98,-155.44 78.67,-153.63\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"72.18,-150.66 79.86,-150.71 75.37,-152.12 78.55,-153.57 78.55,-153.57 78.55,-153.57 75.37,-152.12 77.24,-156.44 72.18,-150.66 72.18,-150.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"102.5\" y=\"-179.8\" font-family=\"Lato\" font-size=\"14.00\">!a & !c</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"114\" y=\"-164.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<!-- 1->1 -->\n",
|
||||
"<g id=\"edge6\" class=\"edge\">\n",
|
||||
"<title>1->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M177.09,-164.42C173.28,-175.17 176.91,-186 188,-186 196.66,-186 200.78,-179.39 200.34,-171.37\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"198.91,-164.42 203.41,-170.64 199.62,-167.84 200.32,-171.27 200.32,-171.27 200.32,-171.27 199.62,-167.84 197.24,-171.91 198.91,-164.42 198.91,-164.42\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"170.5\" y=\"-189.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -796,7 +796,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0eaab0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6120> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -941,7 +941,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc20bc60> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01bae40> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -972,11 +972,11 @@
|
|||
"</g>\n",
|
||||
"<g id=\"clust2\" class=\"cluster\">\n",
|
||||
"<title>cluster_1</title>\n",
|
||||
"<polygon fill=\"none\" stroke=\"green\" points=\"162,-8 162,-108 214,-108 214,-8 162,-8\"/>\n",
|
||||
"<polygon fill=\"none\" stroke=\"red\" points=\"265,-148 265,-233 317,-233 317,-148 265,-148\"/>\n",
|
||||
"</g>\n",
|
||||
"<g id=\"clust3\" class=\"cluster\">\n",
|
||||
"<title>cluster_2</title>\n",
|
||||
"<polygon fill=\"none\" stroke=\"red\" points=\"265,-148 265,-233 317,-233 317,-148 265,-148\"/>\n",
|
||||
"<polygon fill=\"none\" stroke=\"green\" points=\"162,-8 162,-108 214,-108 214,-8 162,-8\"/>\n",
|
||||
"</g>\n",
|
||||
"<g id=\"clust4\" class=\"cluster\">\n",
|
||||
"<title>cluster_3</title>\n",
|
||||
|
|
@ -1015,28 +1015,28 @@
|
|||
"<polygon fill=\"black\" stroke=\"black\" points=\"358.61,-163.72 351.01,-162.65 355.65,-161.85 352.69,-159.99 352.69,-159.99 352.69,-159.99 355.65,-161.85 354.37,-157.32 358.61,-163.72 358.61,-163.72\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"236\" y=\"-139.8\" font-family=\"Lato\" font-size=\"14.00\">c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M62.32,-154.9C67.85,-139.11 77.73,-115.64 92,-99 112.54,-75.05 143.89,-55.91 164.89,-44.77\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.32,-41.43 166.56,-47.45 168.22,-43.04 165.11,-44.65 165.11,-44.65 165.11,-44.65 168.22,-43.04 163.66,-41.86 171.32,-41.43 171.32,-41.43\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-102.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3 -->\n",
|
||||
"<g id=\"node6\" class=\"node\">\n",
|
||||
"<g id=\"node5\" class=\"node\">\n",
|
||||
"<title>3</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-174\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-170.3\" font-family=\"Lato\" font-size=\"14.00\">3</text>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">3</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->3 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>0->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M62.32,-154.9C67.85,-139.11 77.73,-115.64 92,-99 112.54,-75.05 143.89,-55.91 164.89,-44.77\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.32,-41.43 166.56,-47.45 168.22,-43.04 165.11,-44.65 165.11,-44.65 165.11,-44.65 168.22,-43.04 163.66,-41.86 171.32,-41.43 171.32,-41.43\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-102.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node6\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-174\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-170.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M74.16,-172.09C93.19,-172.21 124.79,-172.47 152,-173 155.46,-173.07 159.12,-173.15 162.71,-173.25\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"169.91,-173.45 162.83,-176.4 166.41,-173.35 162.91,-173.25 162.91,-173.25 162.91,-173.25 166.41,-173.35 163,-170.11 169.91,-173.45 169.91,-173.45\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"104.5\" y=\"-176.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -1049,16 +1049,8 @@
|
|||
"<text text-anchor=\"start\" x=\"369.5\" y=\"-228.8\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"366\" y=\"-213.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-49.92C177.11,-60.15 179.99,-70 188,-70 194.13,-70 197.25,-64.23 197.37,-56.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-49.92 200.5,-56.55 197,-53.4 197.37,-56.88 197.37,-56.88 197.37,-56.88 197,-53.4 194.23,-57.21 196.63,-49.92 196.63,-49.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4 -->\n",
|
||||
"<g id=\"node5\" class=\"node\">\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>4</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"291\" cy=\"-174\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"291\" y=\"-170.3\" font-family=\"Lato\" font-size=\"14.00\">4</text>\n",
|
||||
|
|
@ -1077,30 +1069,38 @@
|
|||
"<polygon fill=\"black\" stroke=\"black\" points=\"298.03,-190.66 301.6,-197.46 298.24,-194.16 298.46,-197.65 298.46,-197.65 298.46,-197.65 298.24,-194.16 295.31,-197.84 298.03,-190.66 298.03,-190.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"287.5\" y=\"-213.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->0 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\">\n",
|
||||
"<title>3->0</title>\n",
|
||||
"<!-- 3->3 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\">\n",
|
||||
"<title>3->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-49.92C177.11,-60.15 179.99,-70 188,-70 194.13,-70 197.25,-64.23 197.37,-56.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-49.92 200.5,-56.55 197,-53.4 197.37,-56.88 197.37,-56.88 197.37,-56.88 197,-53.4 194.23,-57.21 196.63,-49.92 196.63,-49.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->0 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->0</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M171.36,-181.73C165.44,-184.26 158.55,-186.74 152,-188 125.81,-193.04 118.06,-193.67 92,-188 87.54,-187.03 82.98,-185.44 78.67,-183.63\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"72.18,-180.66 79.86,-180.71 75.37,-182.12 78.55,-183.57 78.55,-183.57 78.55,-183.57 75.37,-182.12 77.24,-186.44 72.18,-180.66 72.18,-180.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"102.5\" y=\"-195.8\" font-family=\"Lato\" font-size=\"14.00\">!a & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->1 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\">\n",
|
||||
"<title>3->1</title>\n",
|
||||
"<!-- 2->1 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\">\n",
|
||||
"<title>2->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M200.17,-187.75C213.65,-203.15 237.91,-227.23 265,-237 286.74,-244.84 295.92,-246.47 317,-237 335.81,-228.55 350.87,-210.33 360.62,-195.64\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"364.47,-189.6 363.36,-197.2 362.59,-192.55 360.71,-195.5 360.71,-195.5 360.71,-195.5 362.59,-192.55 358.05,-193.81 364.47,-189.6 364.47,-189.6\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"273.5\" y=\"-246.8\" font-family=\"Lato\" font-size=\"14.00\">!a & c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->4 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\">\n",
|
||||
"<title>3->4</title>\n",
|
||||
"<!-- 2->4 -->\n",
|
||||
"<g id=\"edge10\" class=\"edge\">\n",
|
||||
"<title>2->4</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M206.13,-174C222.38,-174 246.98,-174 265.34,-174\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"272.78,-174 265.78,-177.15 269.28,-174 265.78,-174 265.78,-174 265.78,-174 269.28,-174 265.78,-170.85 272.78,-174 272.78,-174\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"224\" y=\"-177.8\" font-family=\"Lato\" font-size=\"14.00\">a & c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->3 -->\n",
|
||||
"<g id=\"edge10\" class=\"edge\">\n",
|
||||
"<title>3->3</title>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-189.92C177.11,-200.15 179.99,-210 188,-210 194.13,-210 197.25,-204.23 197.37,-196.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-189.92 200.5,-196.55 197,-193.4 197.37,-196.88 197.37,-196.88 197.37,-196.88 197,-193.4 194.23,-197.21 196.63,-189.92 196.63,-189.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"170.5\" y=\"-213.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -1109,7 +1109,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc092cc0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01baea0> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -1512,7 +1512,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea570> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6c60> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 8,
|
||||
|
|
@ -1522,60 +1522,16 @@
|
|||
],
|
||||
"source": [
|
||||
"aut = spot.automaton(\"\"\"\n",
|
||||
"HOA: v1\n",
|
||||
"States: 9\n",
|
||||
"Start: 2\n",
|
||||
"AP: 3 \"a\" \"b\" \"c\"\n",
|
||||
"acc-name: Rabin 2\n",
|
||||
"Acceptance: 4 (Fin(0) & Inf(1)) | (Fin(2) & Inf(3))\n",
|
||||
"properties: trans-labels explicit-labels state-acc complete\n",
|
||||
"properties: deterministic\n",
|
||||
"--BODY--\n",
|
||||
"State: 0 {2}\n",
|
||||
"[0&!2] 0\n",
|
||||
"[0&2] 1\n",
|
||||
"[!0&!2] 5\n",
|
||||
"[!0&2] 6\n",
|
||||
"State: 1 {2}\n",
|
||||
"[0] 1\n",
|
||||
"[!0] 6\n",
|
||||
"State: 2 {2}\n",
|
||||
"[0&!1&!2] 3\n",
|
||||
"[0&1&!2] 4\n",
|
||||
"[!0&!2] 5\n",
|
||||
"[2] 6\n",
|
||||
"State: 3 {1 2}\n",
|
||||
"[0&!2] 0\n",
|
||||
"[0&2] 1\n",
|
||||
"[!0&!2] 5\n",
|
||||
"[!0&2] 6\n",
|
||||
"State: 4 {1 2}\n",
|
||||
"[0&!1&!2] 0\n",
|
||||
"[0&!1&2] 1\n",
|
||||
"[!0&!2] 5\n",
|
||||
"[!0&2] 6\n",
|
||||
"[0&1&!2] 7\n",
|
||||
"[0&1&2] 8\n",
|
||||
"State: 5 {1 2}\n",
|
||||
"[0&!1&!2] 0\n",
|
||||
"[!0&!2] 5\n",
|
||||
"[2] 6\n",
|
||||
"[0&1&!2] 7\n",
|
||||
"State: 6 {1 2}\n",
|
||||
"[t] 6\n",
|
||||
"State: 7 {3}\n",
|
||||
"[0&!1&!2] 0\n",
|
||||
"[0&!1&2] 1\n",
|
||||
"[!0&!2] 5\n",
|
||||
"[!0&2] 6\n",
|
||||
"[0&1&!2] 7\n",
|
||||
"[0&1&2] 8\n",
|
||||
"State: 8 {3}\n",
|
||||
"[0&!1] 1\n",
|
||||
"[!0] 6\n",
|
||||
"[0&1] 8\n",
|
||||
"--END--\n",
|
||||
"\"\"\")\n",
|
||||
"HOA: v1 States: 9 Start: 2 AP: 3 \"a\" \"b\" \"c\" acc-name: Rabin 2 Acceptance:\n",
|
||||
"4 (Fin(0) & Inf(1)) | (Fin(2) & Inf(3)) properties: trans-labels\n",
|
||||
"explicit-labels state-acc complete properties: deterministic --BODY--\n",
|
||||
"State: 0 {2} [0&!2] 0 [0&2] 1 [!0&!2] 5 [!0&2] 6 State: 1 {2} [0] 1 [!0]\n",
|
||||
"6 State: 2 {2} [0&!1&!2] 3 [0&1&!2] 4 [!0&!2] 5 [2] 6 State: 3 {1 2}\n",
|
||||
"[0&!2] 0 [0&2] 1 [!0&!2] 5 [!0&2] 6 State: 4 {1 2} [0&!1&!2] 0 [0&!1&2]\n",
|
||||
"1 [!0&!2] 5 [!0&2] 6 [0&1&!2] 7 [0&1&2] 8 State: 5 {1 2} [0&!1&!2] 0\n",
|
||||
"[!0&!2] 5 [2] 6 [0&1&!2] 7 State: 6 {1 2} [t] 6 State: 7 {3} [0&!1&!2]\n",
|
||||
"0 [0&!1&2] 1 [!0&!2] 5 [!0&2] 6 [0&1&!2] 7 [0&1&2] 8 State: 8 {3} [0&!1]\n",
|
||||
"1 [!0] 6 [0&1] 8 --END--\"\"\")\n",
|
||||
"aut"
|
||||
]
|
||||
},
|
||||
|
|
@ -1942,7 +1898,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0eaa50> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6510> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -2174,7 +2130,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc092cc0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01baea0> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -2384,7 +2340,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc21dea0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01bad80> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -2772,7 +2728,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea7b0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6570> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 10,
|
||||
|
|
@ -2933,7 +2889,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ab3f0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6e70> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -3072,7 +3028,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc211570> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa01baf00> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -3224,7 +3180,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc23fa80> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6a20> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -3577,7 +3533,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc21d750> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6120> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 12,
|
||||
|
|
@ -3587,55 +3543,15 @@
|
|||
],
|
||||
"source": [
|
||||
"aut = spot.automaton(\"\"\"\n",
|
||||
"HOA: v1\n",
|
||||
"States: 8\n",
|
||||
"Start: 7\n",
|
||||
"AP: 3 \"a\" \"b\" \"c\"\n",
|
||||
"acc-name: Streett 2\n",
|
||||
"Acceptance: 4 (Fin(0) | Inf(1)) & (Fin(2) | Inf(3))\n",
|
||||
"properties: trans-labels explicit-labels state-acc complete\n",
|
||||
"properties: deterministic\n",
|
||||
"--BODY--\n",
|
||||
"State: 0 {2}\n",
|
||||
"[0&1] 0\n",
|
||||
"[0&!1] 3\n",
|
||||
"[!0] 4\n",
|
||||
"State: 1 {2}\n",
|
||||
"[0&1&2] 0\n",
|
||||
"[0&1&!2] 1\n",
|
||||
"[0&!1&!2] 2\n",
|
||||
"[0&!1&2] 3\n",
|
||||
"[!0&2] 4\n",
|
||||
"[!0&!2] 7\n",
|
||||
"State: 2 {2}\n",
|
||||
"[0&1&!2] 1\n",
|
||||
"[0&!1&!2] 2\n",
|
||||
"[0&2] 3\n",
|
||||
"[!0&2] 4\n",
|
||||
"[!0&!2] 7\n",
|
||||
"State: 3 {0 3}\n",
|
||||
"[0] 3\n",
|
||||
"[!0] 4\n",
|
||||
"State: 4 {1 3}\n",
|
||||
"[t] 4\n",
|
||||
"State: 5 {3}\n",
|
||||
"[0&!1] 3\n",
|
||||
"[!0] 4\n",
|
||||
"[0&1] 5\n",
|
||||
"State: 6 {3}\n",
|
||||
"[0&!1&!2] 2\n",
|
||||
"[0&!1&2] 3\n",
|
||||
"[!0&2] 4\n",
|
||||
"[0&1&2] 5\n",
|
||||
"[0&1&!2] 6\n",
|
||||
"[!0&!2] 7\n",
|
||||
"State: 7 {3}\n",
|
||||
"[0&!1&!2] 2\n",
|
||||
"[2] 4\n",
|
||||
"[0&1&!2] 6\n",
|
||||
"[!0&!2] 7\n",
|
||||
"--END--\n",
|
||||
"\"\"\")\n",
|
||||
"HOA: v1 States: 8 Start: 7 AP: 3 \"a\" \"b\" \"c\" acc-name: Streett\n",
|
||||
"2 Acceptance: 4 (Fin(0) | Inf(1)) & (Fin(2) | Inf(3)) properties:\n",
|
||||
"trans-labels explicit-labels state-acc complete properties: deterministic\n",
|
||||
"--BODY-- State: 0 {2} [0&1] 0 [0&!1] 3 [!0] 4 State: 1 {2} [0&1&2]\n",
|
||||
"0 [0&1&!2] 1 [0&!1&!2] 2 [0&!1&2] 3 [!0&2] 4 [!0&!2] 7 State: 2 {2}\n",
|
||||
"[0&1&!2] 1 [0&!1&!2] 2 [0&2] 3 [!0&2] 4 [!0&!2] 7 State: 3 {0 3} [0] 3\n",
|
||||
"[!0] 4 State: 4 {1 3} [t] 4 State: 5 {3} [0&!1] 3 [!0] 4 [0&1] 5 State:\n",
|
||||
"6 {3} [0&!1&!2] 2 [0&!1&2] 3 [!0&2] 4 [0&1&2] 5 [0&1&!2] 6 [!0&!2]\n",
|
||||
"7 State: 7 {3} [0&!1&!2] 2 [2] 4 [0&1&!2] 6 [!0&!2] 7 --END--\"\"\")\n",
|
||||
"aut"
|
||||
]
|
||||
},
|
||||
|
|
@ -3960,7 +3876,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea480> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c01b0> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -4137,7 +4053,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc23fae0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6f60> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -4295,7 +4211,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc092c00> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa029e660> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -4313,7 +4229,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"The subtlety of Streett acceptance is that if a path that does not visit any accepting set infinitely often *is* accepting. So when disabling SCCs, we must be careful to label them with a combination of rejecting acceptance sets.\n",
|
||||
"The subtlety of Streett acceptance is that a path that does not visit any accepting set infinitely often *is* accepting. So when disabling SCCs, we must be careful to label them with a combination of rejecting acceptance sets.\n",
|
||||
"\n",
|
||||
"This is easy to understand using an example. In the following extraction of the **strong** and **inherently terminal** parts, the rejecting SCCs (that were either rejecting or strictly inherently weak originally) have been labeled by the same acceptance sets, to ensure that they are rejected."
|
||||
]
|
||||
|
|
@ -4644,7 +4560,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea3c0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c0a80> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 14,
|
||||
|
|
@ -4767,7 +4683,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc23fbd0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c0540> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 15,
|
||||
|
|
@ -4865,7 +4781,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0eac90> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c8090> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -4941,7 +4857,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc21d7e0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c0270> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -5035,7 +4951,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0eaab0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c8090> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 18,
|
||||
|
|
@ -5185,7 +5101,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ab6f0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c8a50> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 19,
|
||||
|
|
@ -5345,7 +5261,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0abb70> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00d0cc0> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -5447,7 +5363,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc092c00> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00b6780> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -5582,7 +5498,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0abae0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c0570> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -5606,7 +5522,7 @@
|
|||
"# `decompose_scc()` by SCC number\n",
|
||||
"\n",
|
||||
"Decompose SCC can also be called by SCC numbers.\n",
|
||||
"The example below show the different SCC numbers and the state they contains, before extracting the sub-automaton containing SCC 0 and 2 (i.e., anything leading to states 1 and 4 of the original automaton). This example also shows that when an `scc_info` is available for to automaton to decompose, it can be passed to `decompose_scc()` in lieu of the automaton: doing so is faster because `decompose_scc()` does not need to rebuild this object. "
|
||||
"The example below show the different SCC numbers and the state they contains, before extracting the sub-automaton containing SCC 0 and 1 (i.e., anything leading to states 1 and 4 of the original automaton). This example also shows that when an `scc_info` is available for to automaton to decompose, it can be passed to `decompose_scc()` in lieu of the automaton: doing so is faster because `decompose_scc()` does not need to rebuild this object. "
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -5619,9 +5535,9 @@
|
|||
"output_type": "stream",
|
||||
"text": [
|
||||
"SCC #0 contains states [1]\n",
|
||||
"SCC #1 contains states [2]\n",
|
||||
"SCC #2 contains states [4]\n",
|
||||
"SCC #3 contains states [0, 3]\n"
|
||||
"SCC #1 contains states [4]\n",
|
||||
"SCC #2 contains states [3]\n",
|
||||
"SCC #3 contains states [0, 2]\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -5647,11 +5563,11 @@
|
|||
"</g>\n",
|
||||
"<g id=\"clust2\" class=\"cluster\">\n",
|
||||
"<title>cluster_1</title>\n",
|
||||
"<polygon fill=\"none\" stroke=\"green\" points=\"162,-8 162,-108 214,-108 214,-8 162,-8\"/>\n",
|
||||
"<polygon fill=\"none\" stroke=\"red\" points=\"265,-148 265,-233 317,-233 317,-148 265,-148\"/>\n",
|
||||
"</g>\n",
|
||||
"<g id=\"clust3\" class=\"cluster\">\n",
|
||||
"<title>cluster_2</title>\n",
|
||||
"<polygon fill=\"none\" stroke=\"red\" points=\"265,-148 265,-233 317,-233 317,-148 265,-148\"/>\n",
|
||||
"<polygon fill=\"none\" stroke=\"green\" points=\"162,-8 162,-108 214,-108 214,-8 162,-8\"/>\n",
|
||||
"</g>\n",
|
||||
"<g id=\"clust4\" class=\"cluster\">\n",
|
||||
"<title>cluster_3</title>\n",
|
||||
|
|
@ -5691,28 +5607,28 @@
|
|||
"<polygon fill=\"black\" stroke=\"black\" points=\"358.61,-163.72 351.01,-162.65 355.65,-161.85 352.69,-159.99 352.69,-159.99 352.69,-159.99 355.65,-161.85 354.37,-157.32 358.61,-163.72 358.61,-163.72\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"236\" y=\"-138.8\" font-family=\"Lato\" font-size=\"14.00\">c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M63.71,-144.67C69.74,-131.35 79.55,-112.57 92,-99 113.33,-75.75 144.49,-56.45 165.24,-45.07\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.59,-41.66 166.91,-47.75 168.5,-43.32 165.42,-44.98 165.42,-44.98 165.42,-44.98 168.5,-43.32 163.93,-42.2 171.59,-41.66 171.59,-41.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-102.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3 -->\n",
|
||||
"<g id=\"node6\" class=\"node\">\n",
|
||||
"<g id=\"node5\" class=\"node\">\n",
|
||||
"<title>3</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-176\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-172.3\" font-family=\"Lato\" font-size=\"14.00\">3</text>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-34\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-30.3\" font-family=\"Lato\" font-size=\"14.00\">3</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->3 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\">\n",
|
||||
"<title>0->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M63.71,-144.67C69.74,-131.35 79.55,-112.57 92,-99 113.33,-75.75 144.49,-56.45 165.24,-45.07\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.59,-41.66 166.91,-47.75 168.5,-43.32 165.42,-44.98 165.42,-44.98 165.42,-44.98 168.5,-43.32 163.93,-42.2 171.59,-41.66 171.59,-41.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"92\" y=\"-102.8\" font-family=\"Lato\" font-size=\"14.00\">a & b & !c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node6\" class=\"node\">\n",
|
||||
"<title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"188\" cy=\"-176\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"188\" y=\"-172.3\" font-family=\"Lato\" font-size=\"14.00\">2</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\">\n",
|
||||
"<title>0->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M74.01,-159.31C93.17,-157.84 125.14,-156.68 152,-162 156.19,-162.83 160.53,-164.15 164.66,-165.65\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"171.35,-168.3 163.68,-168.66 168.1,-167.02 164.84,-165.73 164.84,-165.73 164.84,-165.73 168.1,-167.02 166,-162.8 171.35,-168.3 171.35,-168.3\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"104.5\" y=\"-165.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -5725,16 +5641,8 @@
|
|||
"<text text-anchor=\"start\" x=\"369.5\" y=\"-228.8\" font-family=\"Lato\" font-size=\"14.00\">1</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"366\" y=\"-213.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-49.92C177.11,-60.15 179.99,-70 188,-70 194.13,-70 197.25,-64.23 197.37,-56.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-49.92 200.5,-56.55 197,-53.4 197.37,-56.88 197.37,-56.88 197.37,-56.88 197,-53.4 194.23,-57.21 196.63,-49.92 196.63,-49.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4 -->\n",
|
||||
"<g id=\"node5\" class=\"node\">\n",
|
||||
"<g id=\"node4\" class=\"node\">\n",
|
||||
"<title>4</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"291\" cy=\"-174\" rx=\"18\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"291\" y=\"-170.3\" font-family=\"Lato\" font-size=\"14.00\">4</text>\n",
|
||||
|
|
@ -5753,31 +5661,39 @@
|
|||
"<polygon fill=\"black\" stroke=\"black\" points=\"298.03,-190.66 301.6,-197.46 298.24,-194.16 298.46,-197.65 298.46,-197.65 298.46,-197.65 298.24,-194.16 295.31,-197.84 298.03,-190.66 298.03,-190.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"287.5\" y=\"-213.8\" font-family=\"Lato\" font-size=\"14.00\">a</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->0 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\">\n",
|
||||
"<title>3->0</title>\n",
|
||||
"<!-- 3->3 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\">\n",
|
||||
"<title>3->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-49.92C177.11,-60.15 179.99,-70 188,-70 194.13,-70 197.25,-64.23 197.37,-56.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-49.92 200.5,-56.55 197,-53.4 197.37,-56.88 197.37,-56.88 197.37,-56.88 197,-53.4 194.23,-57.21 196.63,-49.92 196.63,-49.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"184\" y=\"-88.8\" font-family=\"Lato\" font-size=\"14.00\">b</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"180\" y=\"-73.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->0 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\">\n",
|
||||
"<title>2->0</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M169.95,-178.44C150.76,-180.68 118.75,-182.83 92,-177 87.54,-176.03 82.98,-174.44 78.67,-172.63\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"72.18,-169.66 79.86,-169.71 75.37,-171.12 78.55,-172.57 78.55,-172.57 78.55,-172.57 75.37,-171.12 77.24,-175.44 72.18,-169.66 72.18,-169.66\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"102.5\" y=\"-198.8\" font-family=\"Lato\" font-size=\"14.00\">!a & !c</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"114\" y=\"-183.8\" font-family=\"Lato\" font-size=\"14.00\" fill=\"#1f78b4\">⓿</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->1 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\">\n",
|
||||
"<title>3->1</title>\n",
|
||||
"<!-- 2->1 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\">\n",
|
||||
"<title>2->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M200.26,-189.33C213.84,-204.25 238.19,-227.57 265,-237 286.8,-244.67 295.92,-246.47 317,-237 335.81,-228.55 350.87,-210.33 360.62,-195.64\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"364.47,-189.6 363.36,-197.2 362.59,-192.55 360.71,-195.5 360.71,-195.5 360.71,-195.5 362.59,-192.55 358.05,-193.81 364.47,-189.6 364.47,-189.6\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"273.5\" y=\"-246.8\" font-family=\"Lato\" font-size=\"14.00\">!a & c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->4 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\">\n",
|
||||
"<title>3->4</title>\n",
|
||||
"<!-- 2->4 -->\n",
|
||||
"<g id=\"edge10\" class=\"edge\">\n",
|
||||
"<title>2->4</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M206.13,-175.66C222.38,-175.34 246.98,-174.85 265.34,-174.49\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"272.78,-174.34 265.85,-177.63 269.28,-174.41 265.78,-174.48 265.78,-174.48 265.78,-174.48 269.28,-174.41 265.72,-171.33 272.78,-174.34 272.78,-174.34\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"224\" y=\"-178.8\" font-family=\"Lato\" font-size=\"14.00\">a & c</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->3 -->\n",
|
||||
"<g id=\"edge10\" class=\"edge\">\n",
|
||||
"<title>3->3</title>\n",
|
||||
"<!-- 2->2 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\">\n",
|
||||
"<title>2->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M179.37,-191.92C177.11,-202.15 179.99,-212 188,-212 194.13,-212 197.25,-206.23 197.37,-198.93\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"196.63,-191.92 200.5,-198.55 197,-195.4 197.37,-198.88 197.37,-198.88 197.37,-198.88 197,-195.4 194.23,-199.21 196.63,-191.92 196.63,-191.92\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"170.5\" y=\"-215.8\" font-family=\"Lato\" font-size=\"14.00\">a & !c</text>\n",
|
||||
|
|
@ -5786,7 +5702,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea1e0> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c85d0> >"
|
||||
]
|
||||
},
|
||||
"metadata": {},
|
||||
|
|
@ -5927,7 +5843,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0ea630> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c8cf0> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 21,
|
||||
|
|
@ -5941,14 +5857,14 @@
|
|||
"for scc in range(si.scc_count()):\n",
|
||||
" print(\"SCC #{} contains states {}\".format(scc, list(si.states_of(scc))))\n",
|
||||
"display(aut)\n",
|
||||
"spot.decompose_scc(si, '0,2')"
|
||||
"spot.decompose_scc(si, '0,1')"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"If an SCC number N is prefixed by `a`, it signifies that we want to extract the Nth *accepting* SCC. In the above example SCC 2 is rejecting so SCC `a2` denotes SCC 3."
|
||||
"If an SCC number N is prefixed by `a`, it signifies that we want to extract the (N+1)th *accepting* SCC. In the above example SCC 1 is rejecting so `a0`, `a1`, and `a2` denote respectively SCCs 0, 2, and 3."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -6030,7 +5946,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f09cc0eae70> >"
|
||||
"<spot.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f1aa00c8b10> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 22,
|
||||
|
|
@ -6059,7 +5975,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.1+"
|
||||
"version": "3.9.2"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue