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:
parent
51a75a316d
commit
84f9be9e8e
2 changed files with 41 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue