Commit 57fa1c8b authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* iface/gspn/ssp.hh (gspn_ssp_interface::gspn_ssp_interface): Add

the `inclusion' flag.
* iface/gspn/ssp.cc (gspn_ssp_interface::gspn_ssp_interface): Call
inclusion_version when inclusion is set.
* iface/gspn/ltlgspn.cc (main) [SSP]: Turn on inclusion for -e3,
-e4, and -e5.
parent f27b91c7
2004-05-24 Soheib Baarir <Souheib.Baarir@lip6.fr>
* iface/gspn/ssp.hh (gspn_ssp_interface::gspn_ssp_interface): Add
the `inclusion' flag.
* iface/gspn/ssp.cc (gspn_ssp_interface::gspn_ssp_interface): Call
inclusion_version when inclusion is set.
* iface/gspn/ltlgspn.cc (main) [SSP]: Turn on inclusion for -e3,
-e4, and -e5.
2004-05-21 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/gspn.cc (tgba_gspn_private_): Define alive_prop,
......
......@@ -174,7 +174,8 @@ main(int argc, char **argv)
spot::bdd_dict* dict = new spot::bdd_dict();
#if SSP
spot::gspn_ssp_interface gspn(2, argv, dict, env);
bool inclusion = (check != Couvreur && check != Couvreur2);
spot::gspn_ssp_interface gspn(2, argv, dict, env, inclusion);
spot::tgba_parse_error_list pel1;
spot::tgba_explicit* control = spot::tgba_parse(argv[formula_index + 2],
......
......@@ -385,7 +385,7 @@ namespace spot
state_array = (state**) realloc(state_array,
(size_states + 1) * sizeof(state*));
state_array[size_states] = i->current_state();
props_[nb_arc_props].arc->curr_state = size_states;
props_[nb_arc_props].arc->curr_state = size_states;
size_states++;
while (all_conds_ != bddfalse)
......@@ -533,10 +533,14 @@ namespace spot
//////////////////////////////////////////////////////////////////////
gspn_ssp_interface::gspn_ssp_interface(int argc, char **argv,
bdd_dict* dict,
const gspn_environment& env)
bdd_dict* dict,
const gspn_environment& env,
bool inclusion)
: dict_(dict), env_(env)
{
if (inclusion)
inclusion_version();
int res = initialize(argc, argv);
if (res)
throw gspn_exeption("initialize()", res);
......
......@@ -38,7 +38,8 @@ namespace spot
{
public:
gspn_ssp_interface(int argc, char **argv,
bdd_dict* dict, const gspn_environment& env);
bdd_dict* dict, const gspn_environment& env,
bool inclusion = false);
~gspn_ssp_interface();
tgba* automaton(const tgba* operand) const;
private:
......
Supports Markdown
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