Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
is-functional.cc
Go to the documentation of this file.
2 #include <vcsn/dyn/algos.hh>
5 
6 namespace vcsn
7 {
8 
9  /*----------------.
10  | is-functional. |
11  `----------------*/
12 
13  namespace dyn
14  {
15  REGISTER_DEFINE(is_functional);
16 
17  bool is_functional(const automaton& aut)
18  {
19  return detail::is_functional_registry().call(aut);
20  }
21  }
22 }
std::shared_ptr< detail::automaton_base > automaton
Definition: automaton.hh:71
bool is_functional(const automaton &aut)
Whether aut is functional.