Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
is-ambiguous.cc
Go to the documentation of this file.
3 #include <vcsn/dyn/algos.hh>
4 
5 namespace vcsn
6 {
7  namespace dyn
8  {
9  REGISTER_DEFINE(ambiguous_word);
10  label
12  {
13  return detail::ambiguous_word_registry().call(aut);
14  }
15 
16  REGISTER_DEFINE(is_ambiguous);
17  bool
18  is_ambiguous(const automaton& aut)
19  {
20  return detail::is_ambiguous_registry().call(aut);
21  }
22 
23  REGISTER_DEFINE(is_cycle_ambiguous);
24  bool
26  {
27  return detail::is_cycle_ambiguous_registry().call(aut);
28  }
29  }
30 }
std::shared_ptr< detail::automaton_base > automaton
Definition: automaton.hh:71
bool is_cycle_ambiguous(const automaton &aut)
Whether the automaton is cycle-ambiguous.
Definition: is-ambiguous.cc:25
label ambiguous_word(const automaton &aut)
An ambiguous word, or raise if there is none.
Definition: is-ambiguous.cc:11
std::shared_ptr< const detail::label_base > label
Definition: fwd.hh:46
bool is_ambiguous(const automaton &aut)
Whether aut is ambiguous.
Definition: is-ambiguous.cc:18