Commit 4341a755 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

* iface/gspn/eesrg.hh: Likewise.
parent f59eeb75
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.
......
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (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
{
......
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (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:
......
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