emptiness: allow twa_run::as_twa to preserve names
* spot/twaalgos/emptiness.cc, spot/twaalgos/emptiness.hh: Here. * tests/python/ltsmin-dve.ipynb: Add a test. * NEWS: Mention the change.
This commit is contained in:
parent
3f5470898d
commit
fb59cab09f
4 changed files with 276 additions and 110 deletions
4
NEWS
4
NEWS
|
|
@ -6,6 +6,10 @@ New in spot 2.3.0.dev (not yet released)
|
|||
will select the best output automaton for each formula translated.
|
||||
See https://spot.lrde.epita.fr/ltldo.html#portfolio for examples.
|
||||
|
||||
Library:
|
||||
|
||||
- spot::twa_run::as_twa() has an option to preserve state names.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- spot::otf_product() was incorrectly registering atomic
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2009, 2011-2017 Laboratoire de Recherche et Développement de
|
||||
// l'Epita (LRDE).
|
||||
// Copyright (C) 2009, 2011-2017 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
|
|
@ -752,13 +752,20 @@ namespace spot
|
|||
}
|
||||
|
||||
twa_graph_ptr
|
||||
twa_run::as_twa() const
|
||||
twa_run::as_twa(bool preserve_names) const
|
||||
{
|
||||
auto d = aut->get_dict();
|
||||
auto res = make_twa_graph(d);
|
||||
res->copy_ap_of(aut);
|
||||
res->copy_acceptance_of(aut);
|
||||
|
||||
std::vector<std::string>* names= nullptr;
|
||||
if (preserve_names)
|
||||
{
|
||||
names = new std::vector<std::string>;
|
||||
res->set_named_prop("state-names", names);
|
||||
}
|
||||
|
||||
const state* s = aut->get_init_state();
|
||||
unsigned src;
|
||||
unsigned dst;
|
||||
|
|
@ -777,6 +784,8 @@ namespace spot
|
|||
assert(s->compare(i->s) == 0);
|
||||
src = res->new_state();
|
||||
seen.emplace(i->s, src);
|
||||
if (names)
|
||||
names->push_back(aut->format_state(s));
|
||||
|
||||
for (; i != l->end();)
|
||||
{
|
||||
|
|
@ -826,7 +835,15 @@ namespace spot
|
|||
|
||||
auto p = seen.emplace(next, 0);
|
||||
if (p.second)
|
||||
p.first->second = res->new_state();
|
||||
{
|
||||
unsigned ns = res->new_state();
|
||||
p.first->second = ns;
|
||||
if (names)
|
||||
{
|
||||
assert(ns = names->size());
|
||||
names->push_back(aut->format_state(next));
|
||||
}
|
||||
}
|
||||
dst = p.first->second;
|
||||
|
||||
res->new_edge(src, dst, label, acc);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2011, 2013, 2014, 2015, 2016 Laboratoire de Recherche et
|
||||
// Developpement de l'Epita (LRDE).
|
||||
// Copyright (C) 2011, 2013, 2014, 2015, 2016, 2017 Laboratoire de
|
||||
// Recherche et Developpement de l'Epita (LRDE).
|
||||
// Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
|
|
@ -438,7 +438,10 @@ namespace spot
|
|||
/// \brief Return a twa_graph_ptr corresponding to \a run
|
||||
///
|
||||
/// Identical states are merged.
|
||||
twa_graph_ptr as_twa() const;
|
||||
///
|
||||
/// If \a preserve_names is set, the created states are named
|
||||
/// using the format_state() result from the original state.
|
||||
twa_graph_ptr as_twa(bool preserve_names = false) const;
|
||||
|
||||
/// \brief Display a twa_run.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -15,10 +15,9 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.5.1"
|
||||
"version": "3.5.3"
|
||||
},
|
||||
"name": "",
|
||||
"signature": "sha256:6d5d45c42cb1493863ed37f13f9c8679e93f026fa8d3b50cb87fba6914a4475f"
|
||||
"name": ""
|
||||
},
|
||||
"nbformat": 3,
|
||||
"nbformat_minor": 0,
|
||||
|
|
@ -276,8 +275,8 @@
|
|||
"<!-- 0 -->\n",
|
||||
"<g id=\"node2\" class=\"node\"><title>0</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"150.137\" cy=\"-154.87\" rx=\"113.274\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"150.137\" y=\"-158.67\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"150.137\" y=\"-143.67\" font-family=\"Lato\" font-size=\"14.00\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"105.137\" y=\"-158.67\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"78.1371\" y=\"-143.67\" font-family=\"Lato\" font-size=\"14.00\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- I->0 -->\n",
|
||||
"<g id=\"edge1\" class=\"edge\"><title>I->0</title>\n",
|
||||
|
|
@ -287,8 +286,8 @@
|
|||
"<!-- 1 -->\n",
|
||||
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"415.24\" cy=\"-190.87\" rx=\"115.931\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"415.24\" y=\"-194.67\" font-family=\"Lato\" font-size=\"14.00\">a=1, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"415.24\" y=\"-179.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"370.24\" y=\"-194.67\" font-family=\"Lato\" font-size=\"14.00\">a=1, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"341.24\" y=\"-179.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g id=\"edge2\" class=\"edge\"><title>0->1</title>\n",
|
||||
|
|
@ -298,8 +297,8 @@
|
|||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\"><title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"415.24\" cy=\"-118.87\" rx=\"113.274\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"415.24\" y=\"-122.67\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=1, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"415.24\" y=\"-107.67\" font-family=\"Lato\" font-size=\"14.00\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"370.24\" y=\"-122.67\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=1, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"343.24\" y=\"-107.67\" font-family=\"Lato\" font-size=\"14.00\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g id=\"edge3\" class=\"edge\"><title>0->2</title>\n",
|
||||
|
|
@ -309,8 +308,8 @@
|
|||
"<!-- 3 -->\n",
|
||||
"<g id=\"node5\" class=\"node\"><title>3</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"683.171\" cy=\"-226.87\" rx=\"115.931\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"683.171\" y=\"-230.67\" font-family=\"Lato\" font-size=\"14.00\">a=2, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"683.171\" y=\"-215.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"638.171\" y=\"-230.67\" font-family=\"Lato\" font-size=\"14.00\">a=2, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"609.171\" y=\"-215.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->3 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\"><title>1->3</title>\n",
|
||||
|
|
@ -320,8 +319,8 @@
|
|||
"<!-- 4 -->\n",
|
||||
"<g id=\"node6\" class=\"node\"><title>4</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"683.171\" cy=\"-154.87\" rx=\"115.931\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"683.171\" y=\"-158.67\" font-family=\"Lato\" font-size=\"14.00\">a=1, b=1, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"683.171\" y=\"-143.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"638.171\" y=\"-158.67\" font-family=\"Lato\" font-size=\"14.00\">a=1, b=1, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"609.171\" y=\"-143.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->4 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\"><title>1->4</title>\n",
|
||||
|
|
@ -336,8 +335,8 @@
|
|||
"<!-- 5 -->\n",
|
||||
"<g id=\"node7\" class=\"node\"><title>5</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"683.171\" cy=\"-82.8701\" rx=\"113.274\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"683.171\" y=\"-86.6701\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=2, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"683.171\" y=\"-71.6701\" font-family=\"Lato\" font-size=\"14.00\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"638.171\" y=\"-86.6701\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=2, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"611.171\" y=\"-71.6701\" font-family=\"Lato\" font-size=\"14.00\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->5 -->\n",
|
||||
"<g id=\"edge7\" class=\"edge\"><title>2->5</title>\n",
|
||||
|
|
@ -347,8 +346,8 @@
|
|||
"<!-- 6 -->\n",
|
||||
"<g id=\"node8\" class=\"node\"><title>6</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"948.273\" cy=\"-282.87\" rx=\"113.274\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-286.67\" font-family=\"Lato\" font-size=\"14.00\">a=3, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-271.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"903.273\" y=\"-286.67\" font-family=\"Lato\" font-size=\"14.00\">a=3, b=0, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"876.273\" y=\"-271.67\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->6 -->\n",
|
||||
"<g id=\"edge8\" class=\"edge\"><title>3->6</title>\n",
|
||||
|
|
@ -358,8 +357,8 @@
|
|||
"<!-- 7 -->\n",
|
||||
"<g id=\"node9\" class=\"node\"><title>7</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"948.273\" cy=\"-210.87\" rx=\"74.9067\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-214.67\" font-family=\"Lato\" font-size=\"14.00\">a=2, b=1, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-199.67\" font-family=\"Lato\" font-size=\"14.00\">...</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"903.273\" y=\"-214.67\" font-family=\"Lato\" font-size=\"14.00\">a=2, b=1, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"943.273\" y=\"-199.67\" font-family=\"Lato\" font-size=\"14.00\">...</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->7 -->\n",
|
||||
"<g id=\"edge9\" class=\"edge\"><title>3->7</title>\n",
|
||||
|
|
@ -374,8 +373,8 @@
|
|||
"<!-- 8 -->\n",
|
||||
"<g id=\"node10\" class=\"node\"><title>8</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"948.273\" cy=\"-138.87\" rx=\"74.9067\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-142.67\" font-family=\"Lato\" font-size=\"14.00\">a=1, b=2, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-127.67\" font-family=\"Lato\" font-size=\"14.00\">...</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"903.273\" y=\"-142.67\" font-family=\"Lato\" font-size=\"14.00\">a=1, b=2, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"943.273\" y=\"-127.67\" font-family=\"Lato\" font-size=\"14.00\">...</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4->8 -->\n",
|
||||
"<g id=\"edge11\" class=\"edge\"><title>4->8</title>\n",
|
||||
|
|
@ -400,8 +399,8 @@
|
|||
"<!-- 9 -->\n",
|
||||
"<g id=\"node12\" class=\"node\"><title>9</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"948.273\" cy=\"-26.8701\" rx=\"74.9067\" ry=\"26.7407\"/>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-30.6701\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=3, Q=0</text>\n",
|
||||
"<text text-anchor=\"middle\" x=\"948.273\" y=\"-15.6701\" font-family=\"Lato\" font-size=\"14.00\">...</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"903.273\" y=\"-30.6701\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=3, Q=0</text>\n",
|
||||
"<text text-anchor=\"start\" x=\"943.273\" y=\"-15.6701\" font-family=\"Lato\" font-size=\"14.00\">...</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5->9 -->\n",
|
||||
"<g id=\"edge14\" class=\"edge\"><title>5->9</title>\n",
|
||||
|
|
@ -447,7 +446,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text": [
|
||||
"<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7f2d78243480> >"
|
||||
"<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7f402430f9c0> >"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -475,8 +474,8 @@
|
|||
"<!-- 0 -->\n",
|
||||
"<g class=\"node\" id=\"node2\"><title>0</title>\n",
|
||||
"<ellipse cx=\"150.137\" cy=\"-183.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"150.137\" y=\"-187.67\">a=0, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"150.137\" y=\"-172.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"105.137\" y=\"-187.67\">a=0, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"78.1371\" y=\"-172.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- I->0 -->\n",
|
||||
"<g class=\"edge\" id=\"edge1\"><title>I->0</title>\n",
|
||||
|
|
@ -486,8 +485,8 @@
|
|||
"<!-- 1 -->\n",
|
||||
"<g class=\"node\" id=\"node3\"><title>1</title>\n",
|
||||
"<ellipse cx=\"415.24\" cy=\"-219.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-223.67\">a=1, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-208.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"370.24\" y=\"-223.67\">a=1, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"341.24\" y=\"-208.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g class=\"edge\" id=\"edge2\"><title>0->1</title>\n",
|
||||
|
|
@ -497,8 +496,8 @@
|
|||
"<!-- 2 -->\n",
|
||||
"<g class=\"node\" id=\"node4\"><title>2</title>\n",
|
||||
"<ellipse cx=\"415.24\" cy=\"-147.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-151.67\">a=0, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-136.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"370.24\" y=\"-151.67\">a=0, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"343.24\" y=\"-136.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g class=\"edge\" id=\"edge3\"><title>0->2</title>\n",
|
||||
|
|
@ -508,8 +507,8 @@
|
|||
"<!-- 3 -->\n",
|
||||
"<g class=\"node\" id=\"node5\"><title>3</title>\n",
|
||||
"<ellipse cx=\"683.171\" cy=\"-255.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-259.67\">a=2, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-244.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"638.171\" y=\"-259.67\">a=2, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"609.171\" y=\"-244.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->3 -->\n",
|
||||
"<g class=\"edge\" id=\"edge4\"><title>1->3</title>\n",
|
||||
|
|
@ -519,8 +518,8 @@
|
|||
"<!-- 4 -->\n",
|
||||
"<g class=\"node\" id=\"node6\"><title>4</title>\n",
|
||||
"<ellipse cx=\"683.171\" cy=\"-183.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-187.67\">a=1, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-172.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"638.171\" y=\"-187.67\">a=1, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"609.171\" y=\"-172.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->4 -->\n",
|
||||
"<g class=\"edge\" id=\"edge5\"><title>1->4</title>\n",
|
||||
|
|
@ -535,8 +534,8 @@
|
|||
"<!-- 5 -->\n",
|
||||
"<g class=\"node\" id=\"node7\"><title>5</title>\n",
|
||||
"<ellipse cx=\"683.171\" cy=\"-111.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-115.67\">a=0, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-100.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"638.171\" y=\"-115.67\">a=0, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"611.171\" y=\"-100.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->5 -->\n",
|
||||
"<g class=\"edge\" id=\"edge7\"><title>2->5</title>\n",
|
||||
|
|
@ -546,8 +545,8 @@
|
|||
"<!-- 6 -->\n",
|
||||
"<g class=\"node\" id=\"node8\"><title>6</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-327.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-331.67\">a=3, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-316.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-331.67\">a=3, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"879.102\" y=\"-316.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->6 -->\n",
|
||||
"<g class=\"edge\" id=\"edge8\"><title>3->6</title>\n",
|
||||
|
|
@ -557,8 +556,8 @@
|
|||
"<!-- 7 -->\n",
|
||||
"<g class=\"node\" id=\"node9\"><title>7</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-255.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-259.67\">a=2, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-244.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-259.67\">a=2, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"877.102\" y=\"-244.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->7 -->\n",
|
||||
"<g class=\"edge\" id=\"edge9\"><title>3->7</title>\n",
|
||||
|
|
@ -573,8 +572,8 @@
|
|||
"<!-- 8 -->\n",
|
||||
"<g class=\"node\" id=\"node10\"><title>8</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-183.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-187.67\">a=1, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-172.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-187.67\">a=1, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"877.102\" y=\"-172.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4->8 -->\n",
|
||||
"<g class=\"edge\" id=\"edge11\"><title>4->8</title>\n",
|
||||
|
|
@ -589,8 +588,8 @@
|
|||
"<!-- 9 -->\n",
|
||||
"<g class=\"node\" id=\"node11\"><title>9</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-26.8701\" fill=\"#ffffaa\" rx=\"74.9067\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-30.6701\">a=0, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-15.6701\">...</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-30.6701\">a=0, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"946.102\" y=\"-15.6701\">...</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5->9 -->\n",
|
||||
"<g class=\"edge\" id=\"edge13\"><title>5->9</title>\n",
|
||||
|
|
@ -600,8 +599,8 @@
|
|||
"<!-- 10 -->\n",
|
||||
"<g class=\"node\" id=\"node12\"><title>10</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-111.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-115.67\">a=0, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-100.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-115.67\">a=0, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"879.102\" y=\"-100.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5->10 -->\n",
|
||||
"<g class=\"edge\" id=\"edge14\"><title>5->10</title>\n",
|
||||
|
|
@ -616,8 +615,8 @@
|
|||
"<!-- 11 -->\n",
|
||||
"<g class=\"node\" id=\"node13\"><title>11</title>\n",
|
||||
"<ellipse cx=\"1216.2\" cy=\"-327.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-331.67\">a=3, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-316.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1171.2\" y=\"-331.67\">a=3, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1144.2\" y=\"-316.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 7->11 -->\n",
|
||||
"<g class=\"edge\" id=\"edge16\"><title>7->11</title>\n",
|
||||
|
|
@ -627,8 +626,8 @@
|
|||
"<!-- 12 -->\n",
|
||||
"<g class=\"node\" id=\"node14\"><title>12</title>\n",
|
||||
"<ellipse cx=\"1216.2\" cy=\"-255.87\" fill=\"#ffffaa\" rx=\"74.9067\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-259.67\">a=2, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-244.67\">...</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1171.2\" y=\"-259.67\">a=2, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1211.2\" y=\"-244.67\">...</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 7->12 -->\n",
|
||||
"<g class=\"edge\" id=\"edge17\"><title>7->12</title>\n",
|
||||
|
|
@ -643,8 +642,8 @@
|
|||
"<!-- 13 -->\n",
|
||||
"<g class=\"node\" id=\"node15\"><title>13</title>\n",
|
||||
"<ellipse cx=\"1216.2\" cy=\"-183.87\" fill=\"#ffffaa\" rx=\"74.9067\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-187.67\">a=1, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-172.67\">...</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1171.2\" y=\"-187.67\">a=1, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1211.2\" y=\"-172.67\">...</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 8->13 -->\n",
|
||||
"<g class=\"edge\" id=\"edge19\"><title>8->13</title>\n",
|
||||
|
|
@ -654,8 +653,8 @@
|
|||
"<!-- 14 -->\n",
|
||||
"<g class=\"node\" id=\"node16\"><title>14</title>\n",
|
||||
"<ellipse cx=\"1216.2\" cy=\"-111.87\" fill=\"#ffffaa\" rx=\"74.9067\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-115.67\">a=1, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1216.2\" y=\"-100.67\">...</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1171.2\" y=\"-115.67\">a=1, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1211.2\" y=\"-100.67\">...</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 8->14 -->\n",
|
||||
"<g class=\"edge\" id=\"edge20\"><title>8->14</title>\n",
|
||||
|
|
@ -726,7 +725,7 @@
|
|||
"</svg>"
|
||||
],
|
||||
"text": [
|
||||
"<IPython.core.display.SVG at 0x7f2d781eb828>"
|
||||
"<IPython.core.display.SVG object>"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -754,8 +753,8 @@
|
|||
"<!-- 0 -->\n",
|
||||
"<g class=\"node\" id=\"node2\"><title>0</title>\n",
|
||||
"<ellipse cx=\"150.137\" cy=\"-188.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"150.137\" y=\"-192.67\">a=0, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"150.137\" y=\"-177.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"105.137\" y=\"-192.67\">a=0, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"78.1371\" y=\"-177.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- I->0 -->\n",
|
||||
"<g class=\"edge\" id=\"edge1\"><title>I->0</title>\n",
|
||||
|
|
@ -765,8 +764,8 @@
|
|||
"<!-- 1 -->\n",
|
||||
"<g class=\"node\" id=\"node3\"><title>1</title>\n",
|
||||
"<ellipse cx=\"415.24\" cy=\"-224.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-228.67\">a=1, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-213.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"370.24\" y=\"-228.67\">a=1, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"341.24\" y=\"-213.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g class=\"edge\" id=\"edge2\"><title>0->1</title>\n",
|
||||
|
|
@ -776,8 +775,8 @@
|
|||
"<!-- 2 -->\n",
|
||||
"<g class=\"node\" id=\"node4\"><title>2</title>\n",
|
||||
"<ellipse cx=\"415.24\" cy=\"-152.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-156.67\">a=0, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"415.24\" y=\"-141.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"370.24\" y=\"-156.67\">a=0, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"343.24\" y=\"-141.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->2 -->\n",
|
||||
"<g class=\"edge\" id=\"edge3\"><title>0->2</title>\n",
|
||||
|
|
@ -787,8 +786,8 @@
|
|||
"<!-- 3 -->\n",
|
||||
"<g class=\"node\" id=\"node5\"><title>3</title>\n",
|
||||
"<ellipse cx=\"683.171\" cy=\"-260.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-264.67\">a=2, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"638.171\" y=\"-264.67\">a=2, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"609.171\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->3 -->\n",
|
||||
"<g class=\"edge\" id=\"edge4\"><title>1->3</title>\n",
|
||||
|
|
@ -798,8 +797,8 @@
|
|||
"<!-- 4 -->\n",
|
||||
"<g class=\"node\" id=\"node6\"><title>4</title>\n",
|
||||
"<ellipse cx=\"683.171\" cy=\"-188.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-192.67\">a=1, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-177.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"638.171\" y=\"-192.67\">a=1, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"609.171\" y=\"-177.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->4 -->\n",
|
||||
"<g class=\"edge\" id=\"edge5\"><title>1->4</title>\n",
|
||||
|
|
@ -814,8 +813,8 @@
|
|||
"<!-- 5 -->\n",
|
||||
"<g class=\"node\" id=\"node7\"><title>5</title>\n",
|
||||
"<ellipse cx=\"683.171\" cy=\"-116.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-120.67\">a=0, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"683.171\" y=\"-105.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"638.171\" y=\"-120.67\">a=0, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"611.171\" y=\"-105.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->5 -->\n",
|
||||
"<g class=\"edge\" id=\"edge7\"><title>2->5</title>\n",
|
||||
|
|
@ -825,8 +824,8 @@
|
|||
"<!-- 6 -->\n",
|
||||
"<g class=\"node\" id=\"node8\"><title>6</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-332.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-336.67\">a=3, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-321.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-336.67\">a=3, b=0, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"879.102\" y=\"-321.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->6 -->\n",
|
||||
"<g class=\"edge\" id=\"edge8\"><title>3->6</title>\n",
|
||||
|
|
@ -836,8 +835,8 @@
|
|||
"<!-- 7 -->\n",
|
||||
"<g class=\"node\" id=\"node9\"><title>7</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-260.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-264.67\">a=2, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-264.67\">a=2, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"877.102\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->7 -->\n",
|
||||
"<g class=\"edge\" id=\"edge9\"><title>3->7</title>\n",
|
||||
|
|
@ -852,8 +851,8 @@
|
|||
"<!-- 8 -->\n",
|
||||
"<g class=\"node\" id=\"node10\"><title>8</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-188.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-192.67\">a=1, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-177.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-192.67\">a=1, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"877.102\" y=\"-177.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 4->8 -->\n",
|
||||
"<g class=\"edge\" id=\"edge11\"><title>4->8</title>\n",
|
||||
|
|
@ -868,8 +867,8 @@
|
|||
"<!-- 9 -->\n",
|
||||
"<g class=\"node\" id=\"node11\"><title>9</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-35.8701\" fill=\"#ffffaa\" rx=\"110.118\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-39.6701\">a=0, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-24.6701\">"a<1" & "b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-39.6701\">a=0, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"881.102\" y=\"-24.6701\">"a<1" & "b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5->9 -->\n",
|
||||
"<g class=\"edge\" id=\"edge13\"><title>5->9</title>\n",
|
||||
|
|
@ -879,8 +878,8 @@
|
|||
"<!-- 10 -->\n",
|
||||
"<g class=\"node\" id=\"node12\"><title>10</title>\n",
|
||||
"<ellipse cx=\"951.102\" cy=\"-116.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-120.67\">a=0, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"951.102\" y=\"-105.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"906.102\" y=\"-120.67\">a=0, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"879.102\" y=\"-105.67\">"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 5->10 -->\n",
|
||||
"<g class=\"edge\" id=\"edge14\"><title>5->10</title>\n",
|
||||
|
|
@ -895,8 +894,8 @@
|
|||
"<!-- 11 -->\n",
|
||||
"<g class=\"node\" id=\"node13\"><title>11</title>\n",
|
||||
"<ellipse cx=\"1219.03\" cy=\"-332.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-336.67\">a=3, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-321.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1174.03\" y=\"-336.67\">a=3, b=1, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1147.03\" y=\"-321.67\">!"a<1" & !"b>2" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 7->11 -->\n",
|
||||
"<g class=\"edge\" id=\"edge16\"><title>7->11</title>\n",
|
||||
|
|
@ -906,8 +905,8 @@
|
|||
"<!-- 12 -->\n",
|
||||
"<g class=\"node\" id=\"node14\"><title>12</title>\n",
|
||||
"<ellipse cx=\"1219.03\" cy=\"-260.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-264.67\">a=2, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1174.03\" y=\"-264.67\">a=2, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1145.03\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 7->12 -->\n",
|
||||
"<g class=\"edge\" id=\"edge17\"><title>7->12</title>\n",
|
||||
|
|
@ -922,8 +921,8 @@
|
|||
"<!-- 13 -->\n",
|
||||
"<g class=\"node\" id=\"node15\"><title>13</title>\n",
|
||||
"<ellipse cx=\"1219.03\" cy=\"-188.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-192.67\">a=1, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-177.67\">!"a<1" & "b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1174.03\" y=\"-192.67\">a=1, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1147.03\" y=\"-177.67\">!"a<1" & "b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 8->13 -->\n",
|
||||
"<g class=\"edge\" id=\"edge19\"><title>8->13</title>\n",
|
||||
|
|
@ -933,8 +932,8 @@
|
|||
"<!-- 14 -->\n",
|
||||
"<g class=\"node\" id=\"node16\"><title>14</title>\n",
|
||||
"<ellipse cx=\"1219.03\" cy=\"-116.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-120.67\">a=1, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-105.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1174.03\" y=\"-120.67\">a=1, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1145.03\" y=\"-105.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 8->14 -->\n",
|
||||
"<g class=\"edge\" id=\"edge20\"><title>8->14</title>\n",
|
||||
|
|
@ -944,8 +943,8 @@
|
|||
"<!-- 15 -->\n",
|
||||
"<g class=\"node\" id=\"node17\"><title>15</title>\n",
|
||||
"<ellipse cx=\"1219.03\" cy=\"-26.8701\" fill=\"#ffffaa\" rx=\"107.46\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-30.6701\">a=0, b=3, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1219.03\" y=\"-15.6701\">"a<1" & "b>2" & dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1174.03\" y=\"-30.6701\">a=0, b=3, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1151.03\" y=\"-15.6701\">"a<1" & "b>2" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 9->15 -->\n",
|
||||
"<g class=\"edge\" id=\"edge21\"><title>9->15</title>\n",
|
||||
|
|
@ -970,8 +969,8 @@
|
|||
"<!-- 16 -->\n",
|
||||
"<g class=\"node\" id=\"node18\"><title>16</title>\n",
|
||||
"<ellipse cx=\"1486.96\" cy=\"-332.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-336.67\">a=3, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-321.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1441.96\" y=\"-336.67\">a=3, b=2, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1412.96\" y=\"-321.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 12->16 -->\n",
|
||||
"<g class=\"edge\" id=\"edge25\"><title>12->16</title>\n",
|
||||
|
|
@ -981,8 +980,8 @@
|
|||
"<!-- 17 -->\n",
|
||||
"<g class=\"node\" id=\"node19\"><title>17</title>\n",
|
||||
"<ellipse cx=\"1486.96\" cy=\"-188.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-192.67\">a=2, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-177.67\">!"a<1" & "b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1441.96\" y=\"-192.67\">a=2, b=3, Q=0</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1414.96\" y=\"-177.67\">!"a<1" & "b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 12->17 -->\n",
|
||||
"<g class=\"edge\" id=\"edge26\"><title>12->17</title>\n",
|
||||
|
|
@ -992,8 +991,8 @@
|
|||
"<!-- 18 -->\n",
|
||||
"<g class=\"node\" id=\"node20\"><title>18</title>\n",
|
||||
"<ellipse cx=\"1486.96\" cy=\"-260.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-264.67\">a=2, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1441.96\" y=\"-264.67\">a=2, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1412.96\" y=\"-249.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 12->18 -->\n",
|
||||
"<g class=\"edge\" id=\"edge27\"><title>12->18</title>\n",
|
||||
|
|
@ -1003,8 +1002,8 @@
|
|||
"<!-- 19 -->\n",
|
||||
"<g class=\"node\" id=\"node21\"><title>19</title>\n",
|
||||
"<ellipse cx=\"1486.96\" cy=\"-98.8701\" fill=\"#ffffaa\" rx=\"110.118\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-102.67\">a=1, b=3, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1486.96\" y=\"-87.6701\">!"a<1" & "b>2" & dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1441.96\" y=\"-102.67\">a=1, b=3, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1416.96\" y=\"-87.6701\">!"a<1" & "b>2" & dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 13->19 -->\n",
|
||||
"<g class=\"edge\" id=\"edge28\"><title>13->19</title>\n",
|
||||
|
|
@ -1029,8 +1028,8 @@
|
|||
"<!-- 20 -->\n",
|
||||
"<g class=\"node\" id=\"node22\"><title>20</title>\n",
|
||||
"<ellipse cx=\"1754.89\" cy=\"-332.87\" fill=\"#ffffaa\" rx=\"115.931\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1754.89\" y=\"-336.67\">a=3, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1754.89\" y=\"-321.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1709.89\" y=\"-336.67\">a=3, b=2, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1680.89\" y=\"-321.67\">!"a<1" & !"b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 16->20 -->\n",
|
||||
"<g class=\"edge\" id=\"edge32\"><title>16->20</title>\n",
|
||||
|
|
@ -1040,8 +1039,8 @@
|
|||
"<!-- 21 -->\n",
|
||||
"<g class=\"node\" id=\"node23\"><title>21</title>\n",
|
||||
"<ellipse cx=\"1754.89\" cy=\"-188.87\" fill=\"#ffffaa\" rx=\"113.274\" ry=\"26.7407\" stroke=\"black\"/>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1754.89\" y=\"-192.67\">a=2, b=3, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"1754.89\" y=\"-177.67\">!"a<1" & "b>2" & !dead</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1709.89\" y=\"-192.67\">a=2, b=3, Q=1</text>\n",
|
||||
"<text font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"start\" x=\"1682.89\" y=\"-177.67\">!"a<1" & "b>2" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 17->21 -->\n",
|
||||
"<g class=\"edge\" id=\"edge33\"><title>17->21</title>\n",
|
||||
|
|
@ -1082,7 +1081,7 @@
|
|||
"</svg>"
|
||||
],
|
||||
"text": [
|
||||
"<IPython.core.display.SVG at 0x7f2d7d39b5f8>"
|
||||
"<IPython.core.display.SVG object>"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -1152,7 +1151,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text": [
|
||||
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f2d78197fc0> >"
|
||||
"<spot.impl.twa_graph; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_graph > *' at 0x7f4024027150> >"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -1314,7 +1313,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text": [
|
||||
"<spot.impl.twa_product; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_product > *' at 0x7f2d78243360> >"
|
||||
"<spot.impl.twa_product; proxy of <Swig Object of type 'std::shared_ptr< spot::twa_product > *' at 0x7f402430ffc0> >"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -1384,9 +1383,152 @@
|
|||
}
|
||||
],
|
||||
"prompt_number": 16
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Instead of `otf_product(x, y).is_empty()` we prefer to call `!x.intersects(y)`. There is also `x.intersecting_run(y)` that can be used to return a counterexample."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"collapsed": true,
|
||||
"input": [
|
||||
"def model_debug(f, m):\n",
|
||||
" f = spot.formula(f)\n",
|
||||
" ss = m.kripke(spot.atomic_prop_collect(f))\n",
|
||||
" nf = spot.formula_Not(f).translate()\n",
|
||||
" return ss.intersecting_run(nf)"
|
||||
],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"prompt_number": 21
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
"input": [
|
||||
"run = model_debug('\"a<1\" R \"b > 1\"', m); run"
|
||||
],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"metadata": {},
|
||||
"output_type": "pyout",
|
||||
"prompt_number": 23,
|
||||
"text": [
|
||||
"Prefix:\n",
|
||||
" a=0, b=0, Q=0\n",
|
||||
" | \"a<1\" & !\"b > 1\" & !dead\n",
|
||||
" a=1, b=0, Q=0\n",
|
||||
" | !\"a<1\" & !\"b > 1\" & !dead\n",
|
||||
" a=2, b=0, Q=0\n",
|
||||
" | !\"a<1\" & !\"b > 1\" & !dead\n",
|
||||
"Cycle:\n",
|
||||
" a=3, b=0, Q=0\n",
|
||||
" | !\"a<1\" & !\"b > 1\" & dead"
|
||||
]
|
||||
}
|
||||
],
|
||||
"prompt_number": 23
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"This accepting run can be represented as an automaton (the `True` argument requires the state names to be preserved). This can be more readable."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
"input": [
|
||||
"run.as_twa(True)"
|
||||
],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"metadata": {},
|
||||
"output_type": "pyout",
|
||||
"prompt_number": 24,
|
||||
"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=\"734pt\" height=\"48pt\"\n",
|
||||
" viewBox=\"0.00 0.00 734.00 48.19\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
|
||||
"<g id=\"graph0\" class=\"graph\" transform=\"scale(0.625875 0.625875) rotate(0) translate(4 73)\">\n",
|
||||
"<title>G</title>\n",
|
||||
"<polygon fill=\"white\" stroke=\"none\" points=\"-4,4 -4,-73 1168.76,-73 1168.76,4 -4,4\"/>\n",
|
||||
"<!-- I -->\n",
|
||||
"<!-- 0 -->\n",
|
||||
"<g id=\"node2\" class=\"node\"><title>0</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"106.894\" cy=\"-18\" rx=\"68.7879\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"61.8939\" y=\"-14.3\" font-family=\"Lato\" font-size=\"14.00\">a=0, b=0, Q=0</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- I->0 -->\n",
|
||||
"<g id=\"edge1\" class=\"edge\"><title>I->0</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1.07603,-18C2.16168,-18 14.7505,-18 30.8523,-18\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"37.9448,-18 30.9448,-21.1501 34.4448,-18 30.9448,-18.0001 30.9448,-18.0001 30.9448,-18.0001 34.4448,-18 30.9447,-14.8501 37.9448,-18 37.9448,-18\"/>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1 -->\n",
|
||||
"<g id=\"node3\" class=\"node\"><title>1</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"431.682\" cy=\"-18\" rx=\"68.7879\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"386.682\" y=\"-14.3\" font-family=\"Lato\" font-size=\"14.00\">a=1, b=0, Q=0</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 0->1 -->\n",
|
||||
"<g id=\"edge2\" class=\"edge\"><title>0->1</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M175.954,-18C228.529,-18 301.235,-18 355.518,-18\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"362.714,-18 355.714,-21.1501 359.214,-18 355.714,-18.0001 355.714,-18.0001 355.714,-18.0001 359.214,-18 355.714,-14.8501 362.714,-18 362.714,-18\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"193.788\" y=\"-21.8\" font-family=\"Lato\" font-size=\"14.00\">"a<1" & !"b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2 -->\n",
|
||||
"<g id=\"node4\" class=\"node\"><title>2</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"760.469\" cy=\"-18\" rx=\"68.7879\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"715.469\" y=\"-14.3\" font-family=\"Lato\" font-size=\"14.00\">a=2, b=0, Q=0</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 1->2 -->\n",
|
||||
"<g id=\"edge3\" class=\"edge\"><title>1->2</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M500.789,-18C554.316,-18 628.812,-18 684.12,-18\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"691.449,-18 684.45,-21.1501 687.949,-18 684.449,-18.0001 684.449,-18.0001 684.449,-18.0001 687.949,-18 684.449,-14.8501 691.449,-18 691.449,-18\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"518.576\" y=\"-21.8\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3 -->\n",
|
||||
"<g id=\"node5\" class=\"node\"><title>3</title>\n",
|
||||
"<ellipse fill=\"#ffffaa\" stroke=\"black\" cx=\"1089.26\" cy=\"-18\" rx=\"68.7879\" ry=\"18\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"1044.26\" y=\"-14.3\" font-family=\"Lato\" font-size=\"14.00\">a=3, b=0, Q=0</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 2->3 -->\n",
|
||||
"<g id=\"edge4\" class=\"edge\"><title>2->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M829.577,-18C883.103,-18 957.6,-18 1012.91,-18\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1020.24,-18 1013.24,-21.1501 1016.74,-18 1013.24,-18.0001 1013.24,-18.0001 1013.24,-18.0001 1016.74,-18 1013.24,-14.8501 1020.24,-18 1020.24,-18\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"847.363\" y=\"-21.8\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b > 1" & !dead</text>\n",
|
||||
"</g>\n",
|
||||
"<!-- 3->3 -->\n",
|
||||
"<g id=\"edge5\" class=\"edge\"><title>3->3</title>\n",
|
||||
"<path fill=\"none\" stroke=\"black\" d=\"M1060.43,-34.6641C1054.02,-44.625 1063.63,-54 1089.26,-54 1108.88,-54 1119.11,-48.5045 1119.95,-41.4581\"/>\n",
|
||||
"<polygon fill=\"black\" stroke=\"black\" points=\"1118.09,-34.6641 1122.98,-40.5804 1119.01,-38.0392 1119.94,-41.4143 1119.94,-41.4143 1119.94,-41.4143 1119.01,-38.0392 1116.9,-42.2483 1118.09,-34.6641 1118.09,-34.6641\"/>\n",
|
||||
"<text text-anchor=\"start\" x=\"1013.76\" y=\"-57.8\" font-family=\"Lato\" font-size=\"14.00\">!"a<1" & !"b > 1" & dead</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 0x7f4024027720> >"
|
||||
]
|
||||
}
|
||||
],
|
||||
"prompt_number": 24
|
||||
}
|
||||
],
|
||||
"metadata": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue