17 #ifndef DYN_AUTOMATON_HH 
   18 #define DYN_AUTOMATON_HH 
   22 namespace awali { 
namespace dyn {
 
   93     class automaton_t : 
public std::shared_ptr<abstract_automaton_t> {
 
  111         const std::shared_ptr<T> &ptr,
 
  112         typename std::enable_if<
 
  207                               bool allow_eps_transitions = 
false);
 
  273                                       bool allow_eps_transitions = 
false);
 
  315                                           bool allow_eps_transitions = 
false);
 
An automaton_t is essentially a shared pointer to an abstract_automaton_t, but also contains static f...
Definition: automaton.hh:93
 
automaton_t(const std::shared_ptr< T > &ptr, typename std::enable_if< std::is_base_of< abstract_automaton_t, T >::value, int >::type=0)
Builds a automaton from a shared pointer to a class derived of abstract_automaton_t; should generally...
Definition: automaton.hh:110
 
automaton_t()
Buils an automaton_t that is essentially a nullptr; should generally not be used.
 
Dynamical wrapper for a context, that is a weightset and a labelset.
Definition: context.hh:43
 
static automaton_t from_range(int l, int u, bool allow_eps_transitions)
Builds an automaton with alphabet {l, l+1, ..., u}, possibly allowing epsilon transitions.
 
static automaton_t from(std::string alphabet, std::string weightset="B", bool allow_eps_transitions=false)
Builds an automaton with labels in given alphabet possibly allowing epsilon transitions,...
 
static automaton_t from_size(unsigned n, std::string weightset="B", bool allow_eps_transitions=false)
Builds an automaton with alphabet {0, 1, ..., n-1} and weightset weightset.
 
automaton_t(context::labelset_description ld, context::weightset_description wd)
Builds a new empty automaton whose labelset is described by ld and weightset by wd.
 
static automaton_t from(std::string alphabet, bool allow_eps_transitions, std::string="B")
Builds a boolean automaton over given alphabet, that possibly allows eps_transitions.
 
static automaton_t from_context(context_t ctx)
Builds a new automaton whose labelset and weightset are given by ctx.
 
static automaton_t from_size(unsigned n, bool allow_eps_transitions)
Builds a Boolean automaton with alphabet {0, 1, ..., n-1}, possibly allowing epsilon transitions.
 
static automaton_t from_range(int l, int u, std::string weightset="B", bool allow_eps_transitions=false)
Builds an automaton with alphabet {l, l+1, ..., u} and weightset weightset
 
std::shared_ptr< weightset_description_impl > weightset_description
Definition: description_types.hh:33
 
weightset_description weightset(const std::string &k)
 
std::shared_ptr< labelset_description_impl > labelset_description
Definition: description_types.hh:32
 
static constexpr TOP< void > value
Definition: priority.hh:93
 
Main namespace of Awali.
Definition: ato.hh:22
 
Abstract interface listing the services provided by automata at the dynamical layer.
Definition: abstract_automaton.hh:68
 
Helper class that contains convenience constructor for automata with int labels.
Definition: automaton.hh:255