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

Remove tgba_reduc::format_state().

* src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh (format_state):
Remove this useless copy of the tgba_explicit_string::format_state
method.
parent 29a908cc
2011-03-30 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Remove tgba_reduc::format_state().
* src/tgba/tgbareduc.cc, src/tgba/tgbareduc.hh (format_state):
Remove this useless copy of the tgba_explicit_string::format_state
method.
2011-03-30 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Protect the state destructor.
......
......@@ -126,17 +126,6 @@ namespace spot
this->merge_transitions();
}
std::string
tgba_reduc::format_state(const spot::state* s) const
{
std::ostringstream os;
const state_explicit* se = dynamic_cast<const state_explicit*>(s);
assert(se);
sn_map::const_iterator i = state_name_map_.find(se->get_state());
assert(i != state_name_map_.end());
return i->second;
}
////////////////////////////////////////////
// for build tgba_reduc
......
// Copyright (C) 2008, 2009 Laboratoire de Recherche et Développement
// Copyright (C) 2008, 2009, 2011 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
// Copyright (C) 2004, 2005, 2006 Laboratoire d'Informatique de
// Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
......@@ -70,9 +70,6 @@ namespace spot
/// relation.
void delete_transitions(simulation_relation* rel);
/// Add the SCC index to the display of the state \a state.
virtual std::string format_state(const spot::state* state) const;
// For Debug
void display_rel_sim(simulation_relation* rel, std::ostream& os);
void display_scc(std::ostream& os);
......
Markdown is supported
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