expansions: remove multiple old implementations

This commit is contained in:
Antoine Martin 2023-03-16 07:39:34 +01:00
parent 77d25d87a1
commit a4091ffc37
2 changed files with 167 additions and 1289 deletions

File diff suppressed because it is too large Load diff

View file

@ -30,22 +30,11 @@
namespace spot
{
using expansion_t = std::map<bdd, formula, bdd_less_than>;
using expansion_t = std::multimap<bdd, formula, bdd_less_than>;
struct exp_opts
{
enum expand_opt {
None = 0,
Deterministic = 1,
Basic = 2,
MergeSuffix = 4,
Bdd = 8,
};
};
struct exp_opts_new
{
enum expand_opt_new {
None = 0,
UniqueSuffix = 1,
UniquePrefix = 2,
@ -55,33 +44,15 @@ namespace spot
};
};
SPOT_API std::multimap<bdd, formula, bdd_less_than>
expansion_new(formula f, const bdd_dict_ptr& d, void *owner, exp_opts_new::expand_opt_new opts);
SPOT_API twa_graph_ptr
expand_new_automaton(formula f, bdd_dict_ptr d, exp_opts_new::expand_opt_new opts);
SPOT_API twa_graph_ptr
expand_new_finite_automaton(formula f, bdd_dict_ptr d, exp_opts_new::expand_opt_new opts);
SPOT_API twa_graph_ptr
expand_simple_automaton(formula f, bdd_dict_ptr d);
SPOT_API twa_graph_ptr
expand_simple_finite_automaton(formula f, bdd_dict_ptr d);
SPOT_API std::multimap<bdd, formula, bdd_less_than>
expansion_simple(formula f, const bdd_dict_ptr& d, void *owner);
SPOT_API expansion_t
expansion(formula f, const bdd_dict_ptr& d, void *owner, exp_opts::expand_opt opts);
SPOT_API formula
expansion_to_formula(expansion_t e, bdd_dict_ptr& d);
SPOT_API twa_graph_ptr
expand_automaton(formula f, bdd_dict_ptr d, exp_opts::expand_opt opts);
SPOT_API twa_graph_ptr
expand_finite_automaton(formula f, bdd_dict_ptr d, exp_opts::expand_opt opts);
SPOT_API formula
expansion_to_formula(expansion_t e, bdd_dict_ptr& d);
}