doc: more examples of the formula interface

* src/tl/formula.hh, src/tl/formula.cc: Add an operator<< to print
formulas.
* doc/org/tut01.org, doc/org/tut02.org: Adjust.
* doc/org/tut03.org: New file.
* doc/org/tut.org, doc/Makefile.am: Add it.
This commit is contained in:
Alexandre Duret-Lutz 2015-09-28 23:17:04 +02:00
parent cb39210166
commit c67540db14
7 changed files with 387 additions and 25 deletions

View file

@ -95,8 +95,7 @@ destructor.
f = spot::relabel(f, spot::Pnn, &m);
for (auto& i: m)
{
std::cout << "#define ";
print_psl(std::cout, i.first) << " (";
std::cout << "#define " << i.first << " (";
print_spin_ltl(std::cout, i.second, true) << ")\n";
}
print_spin_ltl(std::cout, f, true) << '\n';