doc: show more metadata about automata

* src/twa/bdddict.hh (varnum): New method.
* doc/org/tut21.org: Show more metadata.
This commit is contained in:
Alexandre Duret-Lutz 2015-10-22 19:41:38 +02:00
parent 51a75a316d
commit 84f9be9e8e
2 changed files with 41 additions and 7 deletions

View file

@ -123,6 +123,15 @@ namespace spot
}
/// @}
// \brief return the BDD variable associated to a registered
// proposition.
//
// Throws std::out_of_range if the \a is not a known proposition.
int varnum(formula f)
{
return var_map.at(f);
}
/// \brief Register an acceptance variable.
///
/// Return (and maybe allocate) a BDD variable designating an