translate: use compositional suspension on request
This has to be turned on using "-x comp-susp" and other related options documented in spot-x (7). * src/tgbaalgos/translate.hh, src/tgbaalgos/translate.cc: Add support for calling composition-suspension, with optional simulation, WDBA-minimization, and composition. * src/bin/spot-x.cc: Document the new options. * src/bin/man/spot-x.x: Add some bibliography. * src/tgbatest/ltlcross2.test: Test it.
This commit is contained in:
parent
88cd376dff
commit
b6d4806dca
5 changed files with 93 additions and 14 deletions
|
|
@ -52,18 +52,21 @@ namespace spot
|
|||
: postprocessor(opt), simpl_(simpl), simpl_owned_(0)
|
||||
{
|
||||
assert(simpl);
|
||||
setup_opt(opt);
|
||||
}
|
||||
|
||||
translator(bdd_dict* dict, const option_map* opt = 0)
|
||||
: postprocessor(opt)
|
||||
{
|
||||
build_simplifier(dict);
|
||||
setup_opt(opt);
|
||||
}
|
||||
|
||||
translator(const option_map* opt = 0)
|
||||
: postprocessor(opt)
|
||||
{
|
||||
build_simplifier(0);
|
||||
setup_opt(opt);
|
||||
}
|
||||
|
||||
~translator()
|
||||
|
|
@ -72,8 +75,6 @@ namespace spot
|
|||
delete simpl_owned_;
|
||||
}
|
||||
|
||||
void build_simplifier(bdd_dict* dict);
|
||||
|
||||
typedef postprocessor::output_type output_type;
|
||||
|
||||
void
|
||||
|
|
@ -111,10 +112,17 @@ namespace spot
|
|||
/// the caller.
|
||||
const tgba* run(const ltl::formula** f);
|
||||
|
||||
protected:
|
||||
void setup_opt(const option_map* opt);
|
||||
void build_simplifier(bdd_dict* dict);
|
||||
|
||||
private:
|
||||
ltl::ltl_simplifier* simpl_;
|
||||
ltl::ltl_simplifier* simpl_owned_;
|
||||
int comp_susp_;
|
||||
int early_susp_;
|
||||
int skel_wdba_;
|
||||
int skel_simul_;
|
||||
};
|
||||
/// @}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue