diff --git a/NEWS b/NEWS index 80e1e9578..cf21d5273 100644 --- a/NEWS +++ b/NEWS @@ -59,6 +59,9 @@ New in spot 2.3.5.dev (not yet released) the Python bindings can be found at https://spot.lrde.epita.fr/ipynb/decompose.html + - The print_dot() function will now display names for well known + acceptance conditions under the formula when option 'a' is used. + - A new named property for automata called "original-states" can be used to record the origin of a state before transformation. It is currently defined by the degeneralization algorithms, and by diff --git a/doc/org/oaut.org b/doc/org/oaut.org index 95fe045e0..539f596e4 100644 --- a/doc/org/oaut.org +++ b/doc/org/oaut.org @@ -610,21 +610,21 @@ ltl2tgba --dot=vcsna '(Ga -> Gb) W c' #+RESULTS: #+begin_example digraph G { - label="(Gb | F!a) W c\nInf(0)" + label="(Gb | F!a) W c\nInf(0)\n[Büchi]" labelloc="t" node [shape="circle"] - node[style=filled, fillcolor="#ffffa0"] + edge[arrowhead=vee, arrowsize=.7] I [label="", style=invis, height=0] - I -> 1 + I -> 0 subgraph cluster_0 { color=green label="" - 0 [label="0"] + 1 [label="1"] } subgraph cluster_1 { color=green label="" - 3 [label="3"] + 2 [label="2"] } subgraph cluster_2 { color=red @@ -634,20 +634,20 @@ digraph G { subgraph cluster_3 { color=green label="" - 1 [label="1"] - 2 [label="2"] + 0 [label="0"] + 3 [label="3"] } - 0 -> 0 [label="b\n{0}"] - 1 -> 0 [label="a & b & !c"] - 1 -> 1 [label="!a & !c\n{0}"] - 1 -> 2 [label="a & !c"] - 1 -> 3 [label="c"] - 2 -> 1 [label="!a & !c\n{0}"] - 2 -> 2 [label="a & !c"] - 2 -> 3 [label="!a & c"] - 2 -> 4 [label="a & c"] - 3 -> 3 [label="1\n{0}"] - 4 -> 3 [label="!a"] + 0 -> 0 [label="!a & !c\n{0}"] + 0 -> 1 [label="c"] + 0 -> 2 [label="a & b & !c"] + 0 -> 3 [label="a & !c"] + 1 -> 1 [label="1\n{0}"] + 2 -> 2 [label="b\n{0}"] + 3 -> 0 [label="!a & !c\n{0}"] + 3 -> 1 [label="!a & c"] + 3 -> 3 [label="a & !c"] + 3 -> 4 [label="a & c"] + 4 -> 1 [label="!a"] 4 -> 4 [label="a"] } #+end_example @@ -660,20 +660,20 @@ SPOT_DOTEXTRA= ltl2tgba --dot=vcsna '(Ga -> Gb) W c' #+RESULTS: oaut-dot2 #+begin_example digraph G { - label="(Gb | F!a) W c\nInf(0)" + label="(Gb | F!a) W c\nInf(0)\n[Büchi]" labelloc="t" node [shape="circle"] I [label="", style=invis, height=0] - I -> 1 + I -> 0 subgraph cluster_0 { color=green label="" - 0 [label="0"] + 1 [label="1"] } subgraph cluster_1 { color=green label="" - 3 [label="3"] + 2 [label="2"] } subgraph cluster_2 { color=red @@ -683,20 +683,20 @@ digraph G { subgraph cluster_3 { color=green label="" - 1 [label="1"] - 2 [label="2"] + 0 [label="0"] + 3 [label="3"] } - 0 -> 0 [label="b\n{0}"] - 1 -> 0 [label="a & b & !c"] - 1 -> 1 [label="!a & !c\n{0}"] - 1 -> 2 [label="a & !c"] - 1 -> 3 [label="c"] - 2 -> 1 [label="!a & !c\n{0}"] - 2 -> 2 [label="a & !c"] - 2 -> 3 [label="!a & c"] - 2 -> 4 [label="a & c"] - 3 -> 3 [label="1\n{0}"] - 4 -> 3 [label="!a"] + 0 -> 0 [label="!a & !c\n{0}"] + 0 -> 1 [label="c"] + 0 -> 2 [label="a & b & !c"] + 0 -> 3 [label="a & !c"] + 1 -> 1 [label="1\n{0}"] + 2 -> 2 [label="b\n{0}"] + 3 -> 0 [label="!a & !c\n{0}"] + 3 -> 1 [label="!a & c"] + 3 -> 3 [label="a & !c"] + 3 -> 4 [label="a & c"] + 4 -> 1 [label="!a"] 4 -> 4 [label="a"] } #+end_example @@ -710,7 +710,9 @@ $txt The acceptance condition is displayed in the same way as in the [[http://adl.github.io/hoaf/][HOA format]]. Here =Inf(0)= means that runs are accepting if and only if -they visit some the transitions in the set #0 infinitely often. +they visit some the transitions in the set #0 infinitely often. For +well known acceptance conditions (as Büchi in this case), their name +is also displayed in bracket below. The strongly connected components are displayed using the following colors: - *green* components contain an accepting cycle diff --git a/spot/twaalgos/dot.cc b/spot/twaalgos/dot.cc index fd0c1e4f4..32e581e11 100644 --- a/spot/twaalgos/dot.cc +++ b/spot/twaalgos/dot.cc @@ -88,6 +88,7 @@ namespace spot bool opt_name_ = false; bool opt_show_acc_ = false; bool mark_states_ = false; + bool dcircles_ = false; bool opt_scc_ = false; bool opt_html_labels_ = false; bool opt_state_labels_ = false; @@ -416,6 +417,65 @@ namespace spot } } + void print_acceptance_for_human() + { + const char* nl = opt_html_labels_ ? "
" : "\\n"; + if (aut_->acc().is_generalized_buchi()) + { + if (aut_->acc().is_all()) + os_ << nl << "[all]"; + else if (aut_->acc().is_buchi()) + os_ << nl << "[Büchi]"; + else + os_ << nl << "[gen. Büchi " << aut_->num_sets() << ']'; + } + else if (aut_->acc().is_generalized_co_buchi()) + { + if (aut_->acc().is_none()) + os_ << nl << "[none]"; + else if (aut_->acc().is_co_buchi()) + os_ << nl << "[co-Büchi]"; + else + os_ << nl << "[gen. co-Büchi " << aut_->num_sets() << ']'; + } + else + { + int r = aut_->acc().is_rabin(); + assert(r != 0); + if (r > 0) + { + os_ << nl << "[Rabin " << r << ']'; + } + else + { + r = aut_->acc().is_streett(); + assert(r != 0); + if (r > 0) + { + os_ << nl << "[Streett " << r << ']'; + } + else + { + std::vector pairs; + if (aut_->acc().is_generalized_rabin(pairs)) + { + os_ << nl << "[gen. Rabin " << pairs.size() << ']'; + } + else + { + bool max = false; + bool odd = false; + if (aut_->acc().is_parity(max, odd)) + os_ << nl << "[parity " + << (max ? "max " : "min ") + << (odd ? "odd " : "even ") + << aut_->num_sets() << ']'; + } + } + } + } + } + void start() { @@ -439,11 +499,17 @@ namespace spot os_ << "\\n"; } if (opt_show_acc_) - aut_->get_acceptance().to_text - (os_, [this](std::ostream& os, int v) - { - this->output_set(os, v); - }); + { + if (!dcircles_) + { + aut_->get_acceptance().to_text + (os_, [this](std::ostream& os, int v) + { + this->output_set(os, v); + }); + } + print_acceptance_for_human(); + } os_ << "\"\n"; } else @@ -456,11 +522,17 @@ namespace spot os_ << "
"; } if (opt_show_acc_) - aut_->get_acceptance().to_html - (os_, [this](std::ostream& os, int v) - { - this->output_html_set_aux(os, v); - }); + { + if (!dcircles_) + { + aut_->get_acceptance().to_html + (os_, [this](std::ostream& os, int v) + { + this->output_html_set_aux(os, v); + }); + } + print_acceptance_for_human(); + } os_ << ">\n"; } os_ << " labelloc=\"t\"\n"; @@ -517,9 +589,7 @@ namespace spot void process_state(unsigned s) { - if (mark_states_ && - ((opt_bullet && !opt_bullet_but_buchi) - || aut_->num_sets() != 1)) + if (mark_states_ && !dcircles_) { acc_cond::mark_t acc = 0U; for (auto& t: aut_->out(s)) @@ -589,7 +659,7 @@ namespace spot // Use state_acc_sets(), not state_is_accepting() because // on co-Büchi automata we want to mark the rejecting // states. - if (mark_states_ && aut_->state_acc_sets(s)) + if (dcircles_ && aut_->state_acc_sets(s)) os_ << ", peripheries=2"; } if (highlight_states_) @@ -745,6 +815,9 @@ namespace spot name_ = aut_->get_named_prop("automaton-name"); mark_states_ = (!opt_force_acc_trans_ && aut_->prop_state_acc().is_true()); + dcircles_ = (mark_states_ + && (!opt_bullet || opt_bullet_but_buchi) + && (aut_->acc().is_buchi() || aut_->acc().is_co_buchi())); if (opt_shape_ == ShapeAuto) { if (sn_ || sprod_ || aut->num_states() > 100 diff --git a/tests/core/alternating.test b/tests/core/alternating.test index 50c8814aa..ab2a97a8b 100755 --- a/tests/core/alternating.test +++ b/tests/core/alternating.test @@ -58,7 +58,7 @@ autfilt --dot=bans alt.hoa >alt.dot cat >expect.dot < -11 [arrowhead=onormal] @@ -500,937 +500,7 @@ style='arrowhead=onormal' cat >expect6.dot<ex2<ex3<ex4<expect4<expect4d< out4 -diff expect4 out4 -run 0 autfilt --remove-dead-states ex4 > out4 -diff expect4d out4 - - -cat >ex5< out5 -cat >expect <ex6< ex6.dot - -style='arrowhead=onormal' -cat >expect6.dot<ex2<ex3<ex4<expect4<expect4d< out4 -diff expect4 out4 -run 0 autfilt --remove-dead-states ex4 > out4 -diff expect4d out4 - - -cat >ex5< out5 -cat >expect <ex6< ex6.dot - -style='arrowhead=onormal' -cat >expect6.dot<ex2<ex3<ex4<expect4<expect4d< out4 -diff expect4 out4 -run 0 autfilt --remove-dead-states ex4 > out4 -diff expect4d out4 - - -cat >ex5< out5 -cat >expect <ex6< ex6.dot - -style='arrowhead=onormal' -cat >expect6.dot<⓿)> + label=⓿)
[co-Büchi]> labelloc="t" node [shape="circle"] fontname="Lato" @@ -1447,7 +517,7 @@ digraph G { -1.1 [label=<>,shape=point] -1.1 -> 0 [style=bold, color="#FF4DA0"] -1.1 -> 1 [style=bold, color="#FF4DA0"] - 0 -> -1.2 [label=, style=bold, color="#FF7F00", $style] + 0 -> -1.2 [label=, style=bold, color="#FF7F00", arrowhead=onormal] -1.2 [label=<>,shape=point] -1.2 -> 0 [style=bold, color="#FF7F00"] -1.2 -> 1 [style=bold, color="#FF7F00"] @@ -1455,7 +525,6 @@ digraph G { 1 -> 1 [label=] } EOF - diff ex6.dot expect6.dot cat >ex7< ex9.dot cat >expect9.dot <⓿)> + label=⓿)
[co-Büchi]> labelloc="t" node [shape="circle"] fontname="Lato" @@ -1716,7 +785,7 @@ run 0 autfilt --dot='baryf(Lato)' ex10 > ex10.dot cat >expect10.dot <⓿)> + label=⓿)
[co-Büchi]> labelloc="t" node [shape="circle"] fontname="Lato" @@ -1772,7 +841,7 @@ run 2 autfilt --dot='sbarf(Lato)' ex11 > ex11.dot cat >expect11.dot <⓿)> + label=⓿)
[co-Büchi]> labelloc="t" fontname="Lato" node [fontname="Lato"] diff --git a/tests/core/readsave.test b/tests/core/readsave.test index 90005c2f2..6b6548f51 100755 --- a/tests/core/readsave.test +++ b/tests/core/readsave.test @@ -357,7 +357,7 @@ cat output cat >expected <expected <expected < + label=[gen. Büchi 2]> labelloc="t" fontname="Lato" node [fontname="Lato"] @@ -470,7 +470,7 @@ EOF cat >expected < 0 @@ -524,7 +524,7 @@ diff out expected cat >expected2 <output6d2 cat >expect6d2 <⓿)> + label=⓿)
[Büchi]> labelloc="t" I [label="", style=invis, width=0] I -> 1 diff --git a/tests/python/_altscc.ipynb b/tests/python/_altscc.ipynb index 30aaa5aa6..6c67c1445 100644 --- a/tests/python/_altscc.ipynb +++ b/tests/python/_altscc.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3" + "version": "3.5.4" }, "name": "" }, @@ -78,14 +78,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -145,7 +146,7 @@ "\n" ], "text": [ - " *' at 0x7f1946fe0e40> >" + " *' at 0x7f41e84e9810> >" ] } ], @@ -190,14 +191,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -251,7 +253,7 @@ "\n" ], "text": [ - " *' at 0x7f1946fe05a0> >" + " *' at 0x7f41e8571900> >" ] } ], @@ -292,14 +294,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -356,7 +359,7 @@ "\n" ], "text": [ - " *' at 0x7f1946fe05d0> >" + " *' at 0x7f41e85070f0> >" ] } ], @@ -395,14 +398,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -459,7 +463,7 @@ "\n" ], "text": [ - " *' at 0x7f1946fe0660> >" + " *' at 0x7f41e8507120> >" ] } ], @@ -498,14 +502,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -563,7 +568,7 @@ "\n" ], "text": [ - " *' at 0x7f1946fe0570> >" + " *' at 0x7f41e8507150> >" ] } ], @@ -641,14 +646,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -716,7 +722,7 @@ "\n" ], "text": [ - " *' at 0x7f1946f72c00> >" + " *' at 0x7f41e8507630> >" ] }, { @@ -729,14 +735,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -804,7 +811,7 @@ "\n" ], "text": [ - " *' at 0x7f1946f72870> >" + " *' at 0x7f41e84e98a0> >" ] }, { @@ -817,14 +824,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -903,20 +911,21 @@ "\n" ], "text": [ - " *' at 0x7f1946f72c00> >" + " *' at 0x7f41e9624660> >" ] }, { "metadata": {}, "output_type": "display_data", "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -1013,16 +1022,7 @@ ] } ], - "prompt_number": 9 - }, - { - "cell_type": "code", - "collapsed": true, - "input": [], - "language": "python", - "metadata": {}, - "outputs": [], - "prompt_number": null + "prompt_number": 7 } ], "metadata": {} diff --git a/tests/python/alternation.ipynb b/tests/python/alternation.ipynb index abedb0f0c..4e8ca2119 100644 --- a/tests/python/alternation.ipynb +++ b/tests/python/alternation.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.2+" + "version": "3.5.4" }, "name": "" }, @@ -84,13 +84,14 @@ "output_type": "pyout", "prompt_number": 2, "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "\n", "\n", "0\n", @@ -241,16 +242,17 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -383,7 +385,7 @@ "\n" ], "text": [ - " *' at 0x7f1dc4989a50> >" + " *' at 0x7f79685fc7e0> >" ] } ], @@ -409,14 +411,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "0\n", @@ -533,7 +536,7 @@ "\n" ], "text": [ - " *' at 0x7f1dc4989b40> >" + " *' at 0x7f79685fc1e0> >" ] } ], @@ -573,13 +576,14 @@ "output_type": "pyout", "prompt_number": 5, "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "\n", "\n", "0\n", @@ -689,14 +693,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "0\n", @@ -797,7 +802,7 @@ "\n" ], "text": [ - " *' at 0x7f1dc4989a80> >" + " *' at 0x7f79685fc630> >" ] } ], @@ -840,13 +845,14 @@ "output_type": "pyout", "prompt_number": 7, "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "\n", "\n", "3\n", @@ -992,14 +998,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "0\n", @@ -1145,7 +1152,7 @@ "\n" ], "text": [ - " *' at 0x7f1dc4989c90> >" + " *' at 0x7f79685fc6f0> >" ] } ], @@ -1192,13 +1199,14 @@ "output_type": "pyout", "prompt_number": 9, "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "\n", "\n", "-7\n", @@ -1382,16 +1390,17 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -1595,7 +1604,7 @@ "\n" ], "text": [ - " *' at 0x7f1dc4989690> >" + " *' at 0x7f79685fc7b0> >" ] } ], @@ -1640,14 +1649,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ")\n", + "[co-B\u00fcchi]\n", "\n", "\n", "0\n", @@ -1712,7 +1722,7 @@ "\n" ], "text": [ - " *' at 0x7f1dc4989e10> >" + " *' at 0x7f79685fcae0> >" ] } ], @@ -1738,14 +1748,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "0\n", @@ -1786,7 +1797,7 @@ "\n" ], "text": [ - " *' at 0x7f1dc4989ba0> >" + " *' at 0x7f79685fc840> >" ] } ], diff --git a/tests/python/atva16-fig2a.ipynb b/tests/python/atva16-fig2a.ipynb index 09bfa938a..d87cfc61d 100644 --- a/tests/python/atva16-fig2a.ipynb +++ b/tests/python/atva16-fig2a.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3" + "version": "3.5.4" }, "name": "" }, @@ -86,16 +86,17 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -175,7 +176,7 @@ "\n" ], "text": [ - " *' at 0x7f6b2060be40> >" + " *' at 0x7ffb2c16a630> >" ] } ], diff --git a/tests/python/atva16-fig2b.ipynb b/tests/python/atva16-fig2b.ipynb index 59023578d..f896ac9de 100644 --- a/tests/python/atva16-fig2b.ipynb +++ b/tests/python/atva16-fig2b.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.2rc1" + "version": "3.5.4" }, "name": "" }, @@ -116,183 +116,184 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "t\n", + "\n", + "t\n", + "[all]\n", "\n", "\n", "0\n", - "\n", - "c=1, x1=0, x2=0, a1=0, a2=0\n", - "a1.Q & !"c==17" & !dead\n", + "\n", + "c=1, x1=0, x2=0, a1=0, a2=0\n", + "a1.Q & !"c==17" & !dead\n", "\n", "\n", "I->0\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "1\n", - "\n", - "c=1, x1=1, x2=0, a1=1, a2=0\n", - "!a1.Q & !"c==17" & !dead\n", + "\n", + "c=1, x1=1, x2=0, a1=1, a2=0\n", + "!a1.Q & !"c==17" & !dead\n", "\n", "\n", "0->1\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "2\n", - "\n", - "c=1, x1=0, x2=1, a1=0, a2=1\n", - "a1.Q & !"c==17" & !dead\n", + "\n", + "c=1, x1=0, x2=1, a1=0, a2=1\n", + "a1.Q & !"c==17" & !dead\n", "\n", "\n", "0->2\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "3\n", - "\n", - "c=1, x1=2, x2=0, a1=2, a2=0\n", - "!a1.Q & !"c==17" & !dead\n", + "\n", + "c=1, x1=2, x2=0, a1=2, a2=0\n", + "!a1.Q & !"c==17" & !dead\n", "\n", "\n", "1->3\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "4\n", - "\n", - "c=1, x1=1, x2=1, a1=1, a2=1\n", - "!a1.Q & !"c==17" & !dead\n", + "\n", + "c=1, x1=1, x2=1, a1=1, a2=1\n", + "!a1.Q & !"c==17" & !dead\n", "\n", "\n", "1->4\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "2->4\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "5\n", - "\n", - "c=1, x1=0, x2=2, a1=0, a2=2\n", - "a1.Q & !"c==17" & !dead\n", + "\n", + "c=1, x1=0, x2=2, a1=0, a2=2\n", + "a1.Q & !"c==17" & !dead\n", "\n", "\n", "2->5\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "6\n", - "\n", - "c=2, x1=2, x2=0, a1=0, a2=0\n", - "...\n", + "\n", + "c=2, x1=2, x2=0, a1=0, a2=0\n", + "...\n", "\n", "\n", "3->6\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "7\n", - "\n", - "c=1, x1=2, x2=1, a1=2, a2=1\n", - "...\n", + "\n", + "c=1, x1=2, x2=1, a1=2, a2=1\n", + "...\n", "\n", "\n", "3->7\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "4->7\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "8\n", - "\n", - "c=1, x1=1, x2=2, a1=1, a2=2\n", - "...\n", + "\n", + "c=1, x1=1, x2=2, a1=1, a2=2\n", + "...\n", "\n", "\n", "4->8\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "5->8\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "9\n", - "\n", - "c=2, x1=0, x2=2, a1=0, a2=0\n", - "...\n", + "\n", + "c=2, x1=0, x2=2, a1=0, a2=0\n", + "...\n", "\n", "\n", "5->9\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "u6\n", - "\n", - "...\n", + "\n", + "...\n", "\n", "\n", "6->u6\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "u7\n", - "\n", - "...\n", + "\n", + "...\n", "\n", "\n", "7->u7\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "u8\n", - "\n", - "...\n", + "\n", + "...\n", "\n", "\n", "8->u8\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "u9\n", - "\n", - "...\n", + "\n", + "...\n", "\n", "\n", "9->u9\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "\n" ], "text": [ - " *' at 0x7f3406f6f5d0> >" + " *' at 0x7fb770097600> >" ] } ], diff --git a/tests/python/automata.ipynb b/tests/python/automata.ipynb index 4358b58b1..54d68707c 100644 --- a/tests/python/automata.ipynb +++ b/tests/python/automata.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3+" + "version": "3.5.4" }, "name": "" }, @@ -177,7 +177,7 @@ "\n" ], "text": [ - " *' at 0x7f364c1ff810> >" + " *' at 0x7f0d8c2c98a0> >" ] } ], @@ -343,13 +343,14 @@ "output_type": "pyout", "prompt_number": 4, "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -569,7 +570,7 @@ "\n" ], "text": [ - " *' at 0x7f364c1ff720> >" + " *' at 0x7f0d8c2561e0> >" ] } ], @@ -639,7 +640,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18dbd0> >" + " *' at 0x7f0d8c256d50> >" ] } ], @@ -715,7 +716,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18d150> >" + " *' at 0x7f0d8c256ae0> >" ] } ], @@ -1175,7 +1176,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18df00> >" + " *' at 0x7f0d8c2567e0> >" ] } ], @@ -1276,7 +1277,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18df30> >" + " *' at 0x7f0d8c34f780> >" ] } ], @@ -1394,7 +1395,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18d660> >" + " *' at 0x7f0d8c2567b0> >" ] } ], @@ -1493,7 +1494,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18d870> >" + " *' at 0x7f0d8c256e10> >" ] } ], @@ -1963,7 +1964,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18ddb0> >" + " *' at 0x7f0d8c23ee70> >" ] } ], @@ -2292,13 +2293,14 @@ "metadata": {}, "output_type": "display_data", "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "0\n", @@ -2578,7 +2580,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18de10> >" + " *' at 0x7f0d8c34f900> >" ] } ], @@ -2734,7 +2736,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18d7b0> >" + " *' at 0x7f0d8c2770c0> >" ] } ], @@ -2804,7 +2806,7 @@ "\n" ], "text": [ - " *' at 0x7f364c18de10> >" + " *' at 0x7f0d8c277120> >" ] } ], @@ -2828,13 +2830,14 @@ "metadata": {}, "output_type": "display_data", "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "1\n", @@ -2883,13 +2886,14 @@ "metadata": {}, "output_type": "display_data", "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Inf(\n", + "\u2776\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "1\n", @@ -2936,15 +2940,16 @@ "metadata": {}, "output_type": "display_data", "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -3048,15 +3053,16 @@ "metadata": {}, "output_type": "display_data", "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -3231,7 +3237,7 @@ "\n" ], "text": [ - " *' at 0x7f364c1a9450> >" + " *' at 0x7f0d8c256960> >" ] }, { @@ -3258,15 +3264,16 @@ "output_type": "pyout", "prompt_number": 25, "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ") & Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ") & Inf(\n", + "\u2776\n", + ")\n", + "[Rabin 1]\n", "\n", "\n", "0\n", @@ -3399,7 +3406,7 @@ "\n" ], "text": [ - " *' at 0x7f364c1a90c0> >" + " *' at 0x7f0d8c277090> >" ] } ], @@ -3488,7 +3495,7 @@ "\n" ], "text": [ - " *' at 0x7f364c1a90c0> >" + " *' at 0x7f0d8c277090> >" ] } ], @@ -3577,7 +3584,7 @@ "\n" ], "text": [ - " *' at 0x7f364c1a90c0> >" + " *' at 0x7f0d8c277090> >" ] } ], diff --git a/tests/python/decompose.ipynb b/tests/python/decompose.ipynb index fb340e0ca..baba7e9bc 100644 --- a/tests/python/decompose.ipynb +++ b/tests/python/decompose.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3+" + "version": "3.5.4" }, "name": "" }, @@ -80,14 +80,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -211,7 +212,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f37e0> >" + " *' at 0x7f132c59f8a0> >" ] } ], @@ -252,14 +253,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -328,7 +330,7 @@ "\n" ], "text": [ - " *' at 0x7ff545b37570> >" + " *' at 0x7f132c59f780> >" ] } ], @@ -361,14 +363,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -469,7 +472,7 @@ "\n" ], "text": [ - " *' at 0x7ff5442858a0> >" + " *' at 0x7f132c59f600> >" ] } ], @@ -502,14 +505,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -559,7 +563,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f37b0> >" + " *' at 0x7f132c623810> >" ] } ], @@ -597,14 +601,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -636,7 +641,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3660> >" + " *' at 0x7f132c59f810> >" ] } ], @@ -673,15 +678,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "option: sw\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "option: sw\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -752,7 +758,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f36c0> >" + " *' at 0x7f132c59f8d0> >" ] }, { @@ -765,15 +771,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "option: st\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "option: st\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -876,7 +883,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3f90> >" + " *' at 0x7f132c623900> >" ] }, { @@ -889,15 +896,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "option: wt\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "option: wt\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -1019,7 +1027,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f36f0> >" + " *' at 0x7f132c59f6f0> >" ] } ], @@ -1117,20 +1125,21 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "(Fin(\n", - "\u24ff\n", - ") & Inf(\n", - "\u2776\n", - ")) | (Fin(\n", - "\u2777\n", - ") & Inf(\n", - "\u2778\n", - "))\n", + "\n", + "(Fin(\n", + "\u24ff\n", + ") & Inf(\n", + "\u2776\n", + ")) | (Fin(\n", + "\u2777\n", + ") & Inf(\n", + "\u2778\n", + "))\n", + "[Rabin 2]\n", "cluster_0\n", "\n", "\n", @@ -1424,7 +1433,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f570> >" + " *' at 0x7f132c5bd630> >" ] } ], @@ -1459,15 +1468,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "terminal\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "terminal\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -1749,7 +1759,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f36c0> >" + " *' at 0x7f132c59f8d0> >" ] }, { @@ -1762,15 +1772,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "strictly weak\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "strictly weak\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -1946,7 +1957,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3540> >" + " *' at 0x7f132c59f6f0> >" ] }, { @@ -1959,21 +1970,22 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "strong\n", - "(Fin(\n", - "\u24ff\n", - ") & Inf(\n", - "\u2776\n", - ")) | (Fin(\n", - "\u2777\n", - ") & Inf(\n", - "\u2778\n", - "))\n", + "\n", + "strong\n", + "(Fin(\n", + "\u24ff\n", + ") & Inf(\n", + "\u2776\n", + ")) | (Fin(\n", + "\u2777\n", + ") & Inf(\n", + "\u2778\n", + "))\n", + "[Rabin 2]\n", "cluster_0\n", "\n", "\n", @@ -2126,7 +2138,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3720> >" + " *' at 0x7f132c59f7b0> >" ] } ], @@ -2161,20 +2173,21 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "(Fin(\n", - "\u24ff\n", - ") & Inf(\n", - "\u2776\n", - ")) | (Fin(\n", - "\u2777\n", - ") & Inf(\n", - "\u2778\n", - "))\n", + "\n", + "(Fin(\n", + "\u24ff\n", + ") & Inf(\n", + "\u2776\n", + ")) | (Fin(\n", + "\u2777\n", + ") & Inf(\n", + "\u2778\n", + "))\n", + "[Rabin 2]\n", "cluster_0\n", "\n", "\n", @@ -2461,7 +2474,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f630> >" + " *' at 0x7f132c5bd0f0> >" ] } ], @@ -2496,15 +2509,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "inherently terminal\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "inherently terminal\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -2605,7 +2619,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f8a0> >" + " *' at 0x7f132c59f7e0> >" ] }, { @@ -2618,15 +2632,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "strictly inherently weak\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "strictly inherently weak\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -2724,7 +2739,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f690> >" + " *' at 0x7f132c5bd690> >" ] }, { @@ -2737,21 +2752,22 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "strong\n", - "(Fin(\n", - "\u24ff\n", - ") & Inf(\n", - "\u2776\n", - ")) | (Fin(\n", - "\u2777\n", - ") & Inf(\n", - "\u2778\n", - "))\n", + "\n", + "strong\n", + "(Fin(\n", + "\u24ff\n", + ") & Inf(\n", + "\u2776\n", + ")) | (Fin(\n", + "\u2777\n", + ") & Inf(\n", + "\u2778\n", + "))\n", + "[Rabin 2]\n", "cluster_0\n", "\n", "\n", @@ -2904,7 +2920,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f4b0> >" + " *' at 0x7f132c59f6f0> >" ] } ], @@ -2992,20 +3008,21 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "(Fin(\n", - "\u24ff\n", - ") | Inf(\n", - "\u2776\n", - ")) & (Fin(\n", - "\u2777\n", - ") | Inf(\n", - "\u2778\n", - "))\n", + "\n", + "(Fin(\n", + "\u24ff\n", + ") | Inf(\n", + "\u2776\n", + ")) & (Fin(\n", + "\u2777\n", + ") | Inf(\n", + "\u2778\n", + "))\n", + "[Streett 2]\n", "cluster_0\n", "\n", "\n", @@ -3261,7 +3278,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f540> >" + " *' at 0x7f132c5bd6c0> >" ] } ], @@ -3289,15 +3306,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "inherently terminal\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "inherently terminal\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -3551,7 +3569,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f36c0> >" + " *' at 0x7f132c59f7e0> >" ] }, { @@ -3564,15 +3582,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "strictly inherently weak\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "strictly inherently weak\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -3703,7 +3722,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f720> >" + " *' at 0x7f132c59f5a0> >" ] }, { @@ -3716,21 +3735,22 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "strong\n", - "(Fin(\n", - "\u24ff\n", - ") | Inf(\n", - "\u2776\n", - ")) & (Fin(\n", - "\u2777\n", - ") | Inf(\n", - "\u2778\n", - "))\n", + "\n", + "strong\n", + "(Fin(\n", + "\u24ff\n", + ") | Inf(\n", + "\u2776\n", + ")) & (Fin(\n", + "\u2777\n", + ") | Inf(\n", + "\u2778\n", + "))\n", + "[Streett 2]\n", "cluster_0\n", "\n", "\n", @@ -3840,7 +3860,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f4b0> >" + " *' at 0x7f132c59f6f0> >" ] } ], @@ -3875,20 +3895,21 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "(Fin(\n", - "\u24ff\n", - ") | Inf(\n", - "\u2776\n", - ")) & (Fin(\n", - "\u2777\n", - ") | Inf(\n", - "\u2778\n", - "))\n", + "\n", + "(Fin(\n", + "\u24ff\n", + ") | Inf(\n", + "\u2776\n", + ")) & (Fin(\n", + "\u2777\n", + ") | Inf(\n", + "\u2778\n", + "))\n", + "[Streett 2]\n", "cluster_0\n", "\n", "\n", @@ -4143,7 +4164,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420fa20> >" + " *' at 0x7f132c5bd5d0> >" ] } ], @@ -4184,12 +4205,13 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "t\n", + "\n", + "t\n", + "[all]\n", "cluster_0\n", "\n", "\n", @@ -4254,7 +4276,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420fc00> >" + " *' at 0x7f132c5bdab0> >" ] } ], @@ -4292,14 +4314,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -4346,7 +4369,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3720> >" + " *' at 0x7f132c59f750> >" ] }, { @@ -4359,14 +4382,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -4412,7 +4436,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3720> >" + " *' at 0x7f132c59f750> >" ] } ], @@ -4445,14 +4469,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -4498,7 +4523,7 @@ "\n" ], "text": [ - " *' at 0x7ff544285660> >" + " *' at 0x7f132c5bd750> >" ] } ], @@ -4653,7 +4678,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3540> >" + " *' at 0x7f132c5bd600> >" ] } ], @@ -4691,15 +4716,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "terminal\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "terminal\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -4782,7 +4808,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f3f90> >" + " *' at 0x7f132c59f5a0> >" ] }, { @@ -4795,15 +4821,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "strictly weak\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "strictly weak\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -4870,7 +4897,7 @@ "\n" ], "text": [ - " *' at 0x7ff5441f36f0> >" + " *' at 0x7f132c5bd120> >" ] }, { @@ -4890,15 +4917,16 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "all strengths\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "all strengths\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -4987,7 +5015,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f4b0> >" + " *' at 0x7f132c5bddb0> >" ] } ], @@ -5039,14 +5067,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -5170,7 +5199,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420fea0> >" + " *' at 0x7f132c5570f0> >" ] }, { @@ -5184,14 +5213,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -5280,7 +5310,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f060> >" + " *' at 0x7f132c5bd9c0> >" ] } ], @@ -5313,14 +5343,15 @@ "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "cluster_0\n", "\n", "\n", @@ -5370,7 +5401,7 @@ "\n" ], "text": [ - " *' at 0x7ff54420f4e0> >" + " *' at 0x7f132c5bdbd0> >" ] } ], diff --git a/tests/python/gen.ipynb b/tests/python/gen.ipynb index 78df07d53..06d90b169 100644 --- a/tests/python/gen.ipynb +++ b/tests/python/gen.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3" + "version": "3.5.4" }, "name": "" }, @@ -297,30 +297,29 @@ "source": [ "# Automata patterns\n", "\n", - "We currently have only one generator of automata:" + "We currently have only a couple of generators of automata:" ] }, { "cell_type": "code", "collapsed": false, "input": [ - "sg.aut_pattern(sg.AUT_KS_COBUCHI, 3).show('.a')" + "display(sg.aut_pattern(sg.AUT_KS_COBUCHI, 3).show('.a'),\n", + " sg.aut_pattern(sg.AUT_L_DSA, 3).show('.a'),\n", + " sg.aut_pattern(sg.AUT_L_NBA, 3).show('.a'))" ], "language": "python", "metadata": {}, "outputs": [ { "metadata": {}, - "output_type": "pyout", - "prompt_number": 5, + "output_type": "display_data", "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ")\n", + "\n", + "[co-B\u00fcchi]\n", "\n", "\n", "0\n", @@ -489,6 +488,390 @@ "text": [ "" ] + }, + { + "metadata": {}, + "output_type": "display_data", + "svg": [ + "\n", + "\n", + "G\n", + "\n", + "(Fin(\n", + "\u24ff\n", + ") | Inf(\n", + "\u2776\n", + ")) & (Fin(\n", + "\u2777\n", + ") | Inf(\n", + "\u2778\n", + ")) & (Fin(\n", + "\u2779\n", + ") | Inf(\n", + "\u277a\n", + "))\n", + "[Streett 3]\n", + "\n", + "\n", + "0\n", + "\n", + "0\n", + "\u24ff\n", + "\n", + "\n", + "I->0\n", + "\n", + "\n", + "\n", + "\n", + "2\n", + "\n", + "2\n", + "\n", + "\n", + "0->2\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "3\n", + "\n", + "3\n", + "\u2776\n", + "\n", + "\n", + "2->3\n", + "\n", + "\n", + "!a\n", + "\n", + "\n", + "6\n", + "\n", + "6\n", + "\n", + "\n", + "2->6\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "1\n", + "\n", + "1\n", + "\n", + "\n", + "1->0\n", + "\n", + "\n", + "!a\n", + "\n", + "\n", + "5\n", + "\n", + "5\n", + "\n", + "\n", + "1->5\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "4\n", + "\n", + "4\n", + "\u2777\n", + "\n", + "\n", + "5->4\n", + "\n", + "\n", + "!a\n", + "\n", + "\n", + "9\n", + "\n", + "9\n", + "\n", + "\n", + "5->9\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "3->1\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "7\n", + "\n", + "7\n", + "\u2778\n", + "\n", + "\n", + "6->7\n", + "\n", + "\n", + "!a\n", + "\n", + "\n", + "10\n", + "\n", + "10\n", + "\n", + "\n", + "6->10\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "4->2\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "9->9\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "8\n", + "\n", + "8\n", + "\u2779\n", + "\n", + "\n", + "9->8\n", + "\n", + "\n", + "!a\n", + "\n", + "\n", + "7->1\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "10->10\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "11\n", + "\n", + "11\n", + "\u277a\n", + "\n", + "\n", + "10->11\n", + "\n", + "\n", + "!a\n", + "\n", + "\n", + "8->2\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "11->1\n", + "\n", + "\n", + "a\n", + "\n", + "\n", + "" + ], + "text": [ + "" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "svg": [ + "\n", + "\n", + "G\n", + "\n", + "[B\u00fcchi]\n", + "\n", + "\n", + "1\n", + "\n", + "1\n", + "\n", + "\n", + "I->1\n", + "\n", + "\n", + "\n", + "\n", + "1->1\n", + "\n", + "\n", + "a | b\n", + "\n", + "\n", + "7\n", + "\n", + "7\n", + "\n", + "\n", + "1->7\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "0\n", + "\n", + "\n", + "0\n", + "\n", + "\n", + "4\n", + "\n", + "4\n", + "\n", + "\n", + "0->4\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "4->1\n", + "\n", + "\n", + "!a & b\n", + "\n", + "\n", + "5\n", + "\n", + "5\n", + "\n", + "\n", + "4->5\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "7->0\n", + "\n", + "\n", + "!a & b\n", + "\n", + "\n", + "2\n", + "\n", + "2\n", + "\n", + "\n", + "2->2\n", + "\n", + "\n", + "a | b\n", + "\n", + "\n", + "8\n", + "\n", + "8\n", + "\n", + "\n", + "2->8\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "8->7\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "3\n", + "\n", + "3\n", + "\n", + "\n", + "3->3\n", + "\n", + "\n", + "a | b\n", + "\n", + "\n", + "9\n", + "\n", + "9\n", + "\n", + "\n", + "3->9\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "9->8\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "9->9\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "5->2\n", + "\n", + "\n", + "!a & b\n", + "\n", + "\n", + "6\n", + "\n", + "6\n", + "\n", + "\n", + "5->6\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "6->3\n", + "\n", + "\n", + "!a & b\n", + "\n", + "\n", + "6->6\n", + "\n", + "\n", + "a & !b\n", + "\n", + "\n", + "" + ], + "text": [ + "" + ] } ], "prompt_number": 5 @@ -528,15 +911,6 @@ } ], "prompt_number": 6 - }, - { - "cell_type": "code", - "collapsed": true, - "input": [], - "language": "python", - "metadata": {}, - "outputs": [], - "prompt_number": null } ], "metadata": {} diff --git a/tests/python/highlighting.ipynb b/tests/python/highlighting.ipynb index b746cd887..4e15e2d6e 100644 --- a/tests/python/highlighting.ipynb +++ b/tests/python/highlighting.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3" + "version": "3.5.4" }, "name": "" }, @@ -254,7 +254,7 @@ "\n" ], "text": [ - " *' at 0x7f98b673b870> >" + " *' at 0x7f55143d98a0> >" ] } ], @@ -356,7 +356,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad630> >" + " *' at 0x7f55143d9750> >" ] } ], @@ -571,7 +571,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad300> >" + " *' at 0x7f5514366600> >" ] } ], @@ -750,7 +750,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad300> >" + " *' at 0x7f5514366600> >" ] } ], @@ -830,7 +830,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad7b0> >" + " *' at 0x7f55143666f0> >" ] }, { @@ -876,7 +876,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad570> >" + " *' at 0x7f5514366ae0> >" ] } ], @@ -962,7 +962,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad750> >" + " *' at 0x7f5514366de0> >" ] } ], @@ -1087,7 +1087,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad750> >" + " *' at 0x7f5514366de0> >" ] }, { @@ -1144,7 +1144,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad7b0> >" + " *' at 0x7f55143666f0> >" ] }, { @@ -1190,7 +1190,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad570> >" + " *' at 0x7f5514366ae0> >" ] } ], @@ -1397,7 +1397,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad510> >" + " *' at 0x7f5514366e10> >" ] }, { @@ -1471,7 +1471,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66adb70> >" + " *' at 0x7f55143668a0> >" ] }, { @@ -1555,7 +1555,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66ad3c0> >" + " *' at 0x7f5514366c60> >" ] } ], @@ -1701,7 +1701,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66adcc0> >" + " *' at 0x7f5514366f00> >" ] } ], @@ -1846,7 +1846,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66adcc0> >" + " *' at 0x7f5514366f00> >" ] } ], @@ -1989,7 +1989,7 @@ "\n" ], "text": [ - " *' at 0x7f98b66adcc0> >" + " *' at 0x7f5514366f00> >" ] }, { @@ -2177,15 +2177,16 @@ "output_type": "pyout", "prompt_number": 20, "svg": [ - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Fin(\n", - "\u24ff\n", - ") & Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Fin(\n", + "\u24ff\n", + ") & Inf(\n", + "\u2776\n", + ")\n", + "[Rabin 1]\n", "cluster_0\n", "\n", "\n", diff --git a/tests/python/product.ipynb b/tests/python/product.ipynb index cab41b266..26e020965 100644 --- a/tests/python/product.ipynb +++ b/tests/python/product.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3+" + "version": "3.5.4" }, "name": "" }, @@ -70,13 +70,14 @@ "outputs": [ { "html": [ - "
\n", - "\n", + "
\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "1\n", @@ -126,15 +127,16 @@ "\u24ff\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -201,17 +203,18 @@ "\u2776\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 3]\n", "\n", "\n", "0\n", @@ -415,13 +418,14 @@ "outputs": [ { "html": [ - "
\n", - "\n", + "
\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "1\n", @@ -471,15 +475,16 @@ "\u24ff\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -546,17 +551,18 @@ "\u2777\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 3]\n", "\n", "\n", "0\n", @@ -807,13 +813,14 @@ "outputs": [ { "html": [ - "
\n", - "\n", + "
\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "1\n", @@ -863,15 +870,16 @@ "\u24ff\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -938,11 +946,12 @@ "\u2777\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "t\n", + "\n", + "t\n", + "[all]\n", "\n", "\n", "0\n", @@ -1191,75 +1200,73 @@ "outputs": [ { "html": [ - "
\n", - "\n", + "
\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "1\n", - "\n", - "1\n", + "\n", + "1\n", "\n", "\n", "I->1\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "0\n", - "\n", - "0\n", + "\n", + "0\n", "\n", "\n", "1->0\n", - "\n", - "\n", - "1\n", + "\n", + "\n", + "1\n", "\n", "\n", "0->0\n", - "\n", - "\n", - "a & !b\n", - "\u24ff\n", + "\n", + "\n", + "a & !b\n", + "\u24ff\n", "\n", "\n", "2\n", - "\n", - "2\n", + "\n", + "2\n", "\n", "\n", "0->2\n", - "\n", - "\n", - "b\n", - "\u24ff\n", + "\n", + "\n", + "b\n", + "\u24ff\n", "\n", "\n", "2->2\n", - "\n", - "\n", - "1\n", - "\u24ff\n", + "\n", + "\n", + "1\n", + "\u24ff\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -1326,17 +1333,18 @@ "\u2777\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 3]\n", "\n", "\n", "0\n", @@ -1702,75 +1710,73 @@ "outputs": [ { "html": [ - "
\n", - "\n", + "
\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "1\n", - "\n", - "1\n", + "\n", + "1\n", "\n", "\n", "I->1\n", - "\n", - "\n", + "\n", + "\n", "\n", "\n", "0\n", - "\n", - "0\n", + "\n", + "0\n", "\n", "\n", "1->0\n", - "\n", - "\n", - "1\n", + "\n", + "\n", + "1\n", "\n", "\n", "0->0\n", - "\n", - "\n", - "a & !b\n", - "\u24ff\n", + "\n", + "\n", + "a & !b\n", + "\u24ff\n", "\n", "\n", "2\n", - "\n", - "2\n", + "\n", + "2\n", "\n", "\n", "0->2\n", - "\n", - "\n", - "b\n", - "\u24ff\n", + "\n", + "\n", + "b\n", + "\u24ff\n", "\n", "\n", "2->2\n", - "\n", - "\n", - "1\n", - "\u24ff\n", + "\n", + "\n", + "1\n", + "\u24ff\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 2]\n", "\n", "\n", "0\n", @@ -1837,17 +1843,18 @@ "\u2777\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")&Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")&Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + ")\n", + "[gen. B\u00fcchi 3]\n", "\n", "\n", "0\n", @@ -2053,7 +2060,7 @@ "output_type": "stream", "stream": "stdout", "text": [ - "1000 loops, best of 3: 209 \u00b5s per loop\n" + "1000 loops, best of 3: 233 \u00b5s per loop\n" ] } ], @@ -2072,8 +2079,7 @@ "output_type": "stream", "stream": "stdout", "text": [ - "The slowest run took 5.67 times longer than the fastest. This could mean that an intermediate result is being cached.\n", - "100000 loops, best of 3: 4.62 \u00b5s per loop\n" + "100000 loops, best of 3: 11 \u00b5s per loop\n" ] } ], diff --git a/tests/python/randaut.ipynb b/tests/python/randaut.ipynb index 79ac6c2e9..5ad351bdf 100644 --- a/tests/python/randaut.ipynb +++ b/tests/python/randaut.ipynb @@ -15,7 +15,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.3+" + "version": "3.5.4" }, "name": "" }, @@ -165,11 +165,12 @@ "\u24ff\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "t\n", + "\n", + "t\n", + "[all]\n", "\n", "\n", "0\n", @@ -1081,13 +1082,14 @@ "p0 & p1\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "Inf(\n", - "\u24ff\n", - ")\n", + "\n", + "Inf(\n", + "\u24ff\n", + ")\n", + "[B\u00fcchi]\n", "\n", "\n", "0\n", @@ -1407,19 +1409,20 @@ "!p0 & p1\n", "\n", "\n", - "
\n", - "\n", + "
\n", + "\n", "G\n", - "\n", - "(Fin(\n", - "\u24ff\n", - ") & (Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - "))) | Fin(\n", - "\u2778\n", - ")\n", + "\n", + "(Fin(\n", + "\u24ff\n", + ") & (Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + "))) | Fin(\n", + "\u2778\n", + ")\n", + "[gen. Rabin 2]\n", "\n", "\n", "0\n", @@ -1524,19 +1527,20 @@ "\u2778\n", "\n", "\n", - "\n", - "\n", + "\n", + "\n", "G\n", - "\n", - "(Fin(\n", - "\u24ff\n", - ") & (Inf(\n", - "\u2776\n", - ")&Inf(\n", - "\u2777\n", - "))) | Fin(\n", - "\u2778\n", - ")\n", + "\n", + "(Fin(\n", + "\u24ff\n", + ") & (Inf(\n", + "\u2776\n", + ")&Inf(\n", + "\u2777\n", + "))) | Fin(\n", + "\u2778\n", + ")\n", + "[gen. Rabin 2]\n", "\n", "\n", "0\n", @@ -2284,7 +2288,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 3 + "prompt_number": null } ], "metadata": {}