Revamp tgbaexplicit.hh
* src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc: Factor most of the code in an explicit_graph<State, Type> that inherits from type. The tgba_explicit type<State> now inherits from explicit_graph<State,tgba>. * src/ltlvisit/contain.cc, src/neverparse/neverclaimparse.yy src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh, src/tgbaalgos/cutscc.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh, src/tgbaalgos/emptiness.cc, src/tgbaalgos/ltl2tgba_fm.cc, src/tgbaalgos/ltl2tgba_fm.hh, src/tgbaalgos/minimize.cc, src/tgbaalgos/powerset.cc, src/tgbaalgos/randomgraph.cc, src/tgbaalgos/sccfilter.cc, src/tgbaparse/tgbaparse.yy, src/tgbatest/complementation.cc, src/tgbatest/explicit.cc, src/tgbatest/explprod.cc, src/tgbatest/ltl2tgba.cc, src/tgbatest/mixprod.cc, src/tgbatest/powerset.cc, src/tgbatest/tgbaread.cc, src/tgbatest/tripprod.cc: Replace tgba_explicit* by the actual type used. * src/tgbatest/explicit2.cc: New file. * src/tgbatest/Makefile.am: Add it.
This commit is contained in:
parent
9e2b932fe6
commit
a15aac2845
27 changed files with 810 additions and 708 deletions
|
|
@ -30,7 +30,7 @@ namespace spot
|
|||
namespace
|
||||
{
|
||||
static
|
||||
tgba_explicit::transition*
|
||||
state_explicit_string::transition*
|
||||
create_transition(const tgba* aut, tgba_explicit_string* out_aut,
|
||||
const state* in_s, int in,
|
||||
const state* out_s, int out)
|
||||
|
|
@ -43,7 +43,7 @@ namespace spot
|
|||
}
|
||||
|
||||
static
|
||||
tgba_explicit::transition*
|
||||
state_explicit_formula::transition*
|
||||
create_transition(const tgba* aut, tgba_explicit_formula* out_aut,
|
||||
const state* in_s, int, const state* out_s, int)
|
||||
{
|
||||
|
|
@ -62,6 +62,8 @@ namespace spot
|
|||
class filter_iter: public tgba_reachable_iterator_depth_first
|
||||
{
|
||||
public:
|
||||
typedef T output_t;
|
||||
|
||||
filter_iter(const tgba* a,
|
||||
const scc_map& sm,
|
||||
const std::vector<bool>& useless,
|
||||
|
|
@ -94,7 +96,7 @@ namespace spot
|
|||
const state* out_s, int out,
|
||||
const tgba_succ_iterator* si)
|
||||
{
|
||||
tgba_explicit::transition* t =
|
||||
typename output_t::state::transition* t =
|
||||
create_transition(this->aut_, out_, in_s, in, out_s, out);
|
||||
out_->add_conditions(t, si->current_condition());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue