17 #ifndef AWALI_ALGOS_FINITE_IMAGE_HH
18 #define AWALI_ALGOS_FINITE_IMAGE_HH
38 template<
unsigned I,
typename Tdc>
41 using Ilabelset_t =
typename labelset_t::template valueset_t<I>;
43 for(
auto tr : ptdc->transitions()) {
44 if(!is_epsilon<Ilabelset_t>(std::get<I>(ptdc->label_of(tr))))
45 ptdc->del_transition(tr);
auto proper(const Aut &aut, direction_t dir=BACKWARD, bool prune=true, bool keep_history=true) -> decltype(copy(aut))
Eliminate spontaneous transitions.
Definition: proper.hh:444
typename internal::labelset_t_of_impl< internal::base_t< ValueSet > >::type labelset_t_of
Helper to retrieve the type of the labelset of a value set.
Definition: traits.hh:76
ATTRIBUTE_CONST bool is_acyclic(const Aut &aut)
Definition: is_acyclic.hh:98
bool is_of_finite_image(const Tdc &tdc)
Check whether the image of every word is finite.
Definition: is_of_finite_image.hh:39
Main namespace of Awali.
Definition: ato.hh:22