Commit 9316cfd6 authored by Jérôme Galtier's avatar Jérôme Galtier
Browse files

Remove aut_to_exp() from automaton_maker.

* include/vaucanson/contexts/automaton_maker.thh,
include/vaucanson/contexts/automaton_maker.thxx (aut_to_exp): Remove.
This function was not used, was causing a lot of troubles because of
the call to generalized() and the design was wrong.
parent 7473cd1b
2009-09-29 Jérôme Galtier <jerome.galtier@lrde.epita.fr>
Remove aut_to_exp() from automaton_maker.
* include/vaucanson/contexts/automaton_maker.thh,
include/vaucanson/contexts/automaton_maker.thxx (aut_to_exp): Remove.
This function was not used, was causing a lot of troubles because of
the call to generalized() and the design was wrong.
2009-09-29 Jérôme Galtier <jerome.galtier@lrde.epita.fr>
 
Add a specialization for generalized().
......
......@@ -95,12 +95,6 @@ namespace vcsn
automaton_t
thompson_of(const Element<SeriesSet, SeriesImpl>& e);
rat_exp_t
aut_to_exp(const automaton_t& a);
template <class Chooser>
rat_exp_t
aut_to_exp(const automaton_t& a, const Chooser& c);
}
}
}
......
......@@ -228,24 +228,6 @@ namespace vcsn
return do_thompson_of(e.structure(), e.value());
}
/*-------------.
| aut_to_exp() |
`-------------*/
inline
rat_exp_t
aut_to_exp(const automaton_t& a)
{
return aut_to_exp(generalized(a));
}
template <class Chooser>
rat_exp_t
aut_to_exp(const automaton_t& a, const Chooser& c)
{
return aut_to_exp(generalized(a), c);
}
} // End of VCSN_CONTEXT_NAMESPACE.
} // End of VCSN_GRAPH_IMPL
} // End of namespace vcsn.
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