Commit beafcf4e authored by Thibaud Michaud's avatar Thibaud Michaud Committed by Alexandre Duret-Lutz
Browse files

Adding trans_storage methods to tgbagraph.hh

* src/tgba/tgbagraph.hh: Adding trans_storage methods to access
the underlying trans_storage_t struct.
parent c9618f91
......@@ -330,6 +330,31 @@ namespace spot
return acc_.mark(0);
}
graph_t::trans_storage_t& trans_storage(const tgba_succ_iterator* it)
{
auto* i = down_cast<const tgba_digraph_succ_iterator<graph_t>*>(it);
return g_.trans_storage(i->pos());
}
graph_t::trans_storage_t& trans_storage(unsigned t)
{
return g_.trans_storage(t);
}
const graph_t::trans_storage_t
trans_storage(const tgba_succ_iterator* it) const
{
auto* i = down_cast<const tgba_digraph_succ_iterator<graph_t>*>(it);
return g_.trans_storage(i->pos());
}
const graph_t::trans_storage_t trans_storage(unsigned t) const
{
return g_.trans_storage(t);
}
void set_acceptance_conditions(bdd all);
unsigned new_state()
{
return g_.new_state();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment