* src/tgba/tgba.hh, src/tgba/tgba.cc

(tgba::project_state): New method.
* src/tgba/tgbaproduct.hh, src/tgba/tgbaproduct.cc
(tgba_product::project_state): New method.
* src/tgba/tgbabta.hh, src/tgba/tgbabta.cc
(tgba_bta_proxy::project_state): New method.
* src/tgbaalgos/magic.cc (magic_search::print_result): Take
a restrict argument.
This commit is contained in:
Alexandre Duret-Lutz 2003-07-30 12:41:48 +00:00
parent a66ad58b5d
commit 24099078d6
10 changed files with 106 additions and 18 deletions

View file

@ -7,7 +7,7 @@ namespace spot
last_support_variables_input_(0)
{
}
tgba::~tgba()
{
if (last_support_conditions_input_)
@ -15,14 +15,14 @@ namespace spot
if (last_support_variables_input_)
delete last_support_variables_input_;
}
bdd
bdd
tgba::support_conditions(const state* state) const
{
if (! last_support_conditions_input_
|| last_support_conditions_input_->compare(state) != 0)
{
last_support_conditions_output_ =
last_support_conditions_output_ =
compute_support_conditions(state);
if (last_support_conditions_input_)
delete last_support_conditions_input_;
@ -37,7 +37,7 @@ namespace spot
if (! last_support_variables_input_
|| last_support_variables_input_->compare(state) != 0)
{
last_support_variables_output_ =
last_support_variables_output_ =
compute_support_variables(state);
if (last_support_variables_input_)
delete last_support_variables_input_;
@ -46,4 +46,12 @@ namespace spot
return last_support_variables_output_;
}
state*
tgba::project_state(const state* s, const tgba* t) const
{
if (t == this)
return s->clone();
return 0;
}
}