python: implicit str->formula conversion
* python/spot/impl.i, python/spot/__init__.py: Implement it. * NEWS: Mention it. * tests/python/atva16-fig2a.ipynb, tests/python/atva16-fig2b.ipynb, tests/python/formulas.ipynb, tests/python/ltsmin-dve.ipynb, tests/python/ltsmin-pml.ipynb, tests/python/stutter-inv.ipynb, doc/org/tut02.org: Modernize.
This commit is contained in:
parent
5c1d9c492c
commit
6a808492c1
10 changed files with 168 additions and 210 deletions
|
|
@ -38,8 +38,8 @@
|
|||
"SpinS Promela Compiler - version 1.1 (3-Feb-2015)\n",
|
||||
"(C) University of Twente, Formal Methods and Tools group\n",
|
||||
"\n",
|
||||
"Parsing tmp_kk6cvzf.pml...\n",
|
||||
"Parsing tmp_kk6cvzf.pml done (0.0 sec)\n",
|
||||
"Parsing tmps8i1kbv6.pml...\n",
|
||||
"Parsing tmps8i1kbv6.pml done (0.0 sec)\n",
|
||||
"\n",
|
||||
"Optimizing graphs...\n",
|
||||
" StateMerging changed 0 states/transitions.\n",
|
||||
|
|
@ -225,8 +225,8 @@
|
|||
" Found 2 / 2 (100.0%) Commuting actions \n",
|
||||
"Generating guard dependency matrices done (0.0 sec)\n",
|
||||
"\n",
|
||||
"Written C code to /home/adl/git/spot/tests/python/tmp_kk6cvzf.pml.spins.c\n",
|
||||
"Compiled C code to PINS library tmp_kk6cvzf.pml.spins\n",
|
||||
"Written C code to /home/adl/git/spot/tests/python/tmps8i1kbv6.pml.spins.c\n",
|
||||
"Compiled C code to PINS library tmps8i1kbv6.pml.spins\n",
|
||||
"\n"
|
||||
]
|
||||
}
|
||||
|
|
@ -560,7 +560,7 @@
|
|||
"</svg>\n"
|
||||
],
|
||||
"text/plain": [
|
||||
"<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7fa8d4065b40> >"
|
||||
"<spot.impl.kripke; proxy of <Swig Object of type 'std::shared_ptr< spot::kripke > *' at 0x7f44743b5ae0> >"
|
||||
]
|
||||
},
|
||||
"execution_count": 4,
|
||||
|
|
@ -603,7 +603,7 @@
|
|||
"<!-- 0 -->\n",
|
||||
"<g class=\"node\" id=\"node2\">\n",
|
||||
"<title>0</title>\n",
|
||||
"<g id=\"a_node2\"><a xlink:title=\"P_0._pc=1, P_0.a=0, P_0.b=0\n",
|
||||
"<g id=\"a_node2\"><a xlink:title=\"P_0._pc=0, P_0.a=0, P_0.b=0\n",
|
||||
""P_0.a < 2" & !"P_0.b > 1" & !dead\">\n",
|
||||
"<ellipse cx=\"55\" cy=\"-117\" fill=\"#ffffaa\" rx=\"18\" ry=\"18\" stroke=\"#000000\"/>\n",
|
||||
"<text fill=\"#000000\" font-family=\"Lato\" font-size=\"14.00\" text-anchor=\"middle\" x=\"55\" y=\"-113.3\">0</text>\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue