* iface/gspn/eesrg.cc (tgba_gspn_eesrg::project_state): New method.

* iface/gspn/eesrg.hh: Likewise.
This commit is contained in:
Alexandre Duret-Lutz 2004-01-06 10:07:19 +00:00
parent f59eeb75cd
commit 4341a7553e
3 changed files with 18 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-01-06 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/eesrg.cc (tgba_gspn_eesrg::project_state): New method.
* iface/gspn/eesrg.hh: Likewise.
2004-01-05 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/powerset.cc, src/tgbaalgos/powerset.hh: New files.

View file

@ -1,4 +1,4 @@
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
//
@ -456,6 +456,16 @@ namespace spot
return os.str() + " * " + data_->operand->format_state(s->right());
}
state*
tgba_gspn_eesrg::project_state(const state* s, const tgba* t) const
{
const state_gspn_eesrg* s2 = dynamic_cast<const state_gspn_eesrg*>(s);
assert(s2);
if (t == this)
return s2->clone();
return data_->operand->project_state(s2->right(), t);
}
bdd
tgba_gspn_eesrg::all_acceptance_conditions() const
{

View file

@ -1,4 +1,4 @@
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
//
@ -60,6 +60,7 @@ namespace spot
const tgba* global_automaton = 0) const;
virtual bdd_dict* get_dict() const;
virtual std::string format_state(const state* state) const;
virtual state* project_state(const state* s, const tgba* t) const;
virtual bdd all_acceptance_conditions() const;
virtual bdd neg_acceptance_conditions() const;
protected: