17 #ifndef DYN_CONTEXT_DESCRIPTION_TYPES_HH
18 #define DYN_CONTEXT_DESCRIPTION_TYPES_HH
59 for (
size_t i = 0; i <
children_.size(); ++i)
78 if (!child->letters_are_int())
90 if (!child->letters_are_int())
124 && ( (
ct_ ==
nullptr && other.
ct_ ==
nullptr)
129 for (
size_t i = 0; i <
children_.size(); ++i)
140 return std::make_shared<labelset_description_impl>();
145 return std::make_shared<weightset_description_impl>();
150 return std::make_shared<context_description_impl>();
std::shared_ptr< weightset_description_impl > weightset_description
Definition: description_types.hh:33
context_description make_context_description()
Definition: description_types.hh:149
CTypes
Definition: description_types.hh:36
std::shared_ptr< labelset_description_impl > labelset_description
Definition: description_types.hh:32
labelset_description make_labelset_description()
Definition: description_types.hh:139
std::shared_ptr< context_description_impl > context_description
Definition: description_types.hh:31
weightset_description make_weightset_description()
Definition: description_types.hh:144
Main namespace of Awali.
Definition: ato.hh:22
Definition: description_types.hh:40
static const int RATEXP
Definition: description_types.hh:41
static const int TUPLE
Definition: description_types.hh:43
static const int SERIES
Definition: description_types.hh:42
Definition: description_types.hh:105
weightset_description weightset() const
Definition: description_types.hh:110
bool operator==(context_description_impl const &other) const
Definition: description_types.hh:112
labelset_description ls_
Definition: description_types.hh:106
labelset_description labelset() const
Definition: description_types.hh:109
weightset_description ws_
Definition: description_types.hh:107
Definition: description_types.hh:46
bool letters_are_char() const
Definition: description_types.hh:85
bool is_lat() const
Definition: description_types.hh:67
std::vector< labelset_description > children_
Definition: description_types.hh:50
size_t tape_number() const
Definition: description_types.hh:97
bool is_lao() const
Definition: description_types.hh:65
bool is_lan() const
Definition: description_types.hh:66
bool is_law() const
Definition: description_types.hh:70
bool letters_are_int() const
Definition: description_types.hh:73
bool operator==(labelset_description_impl const &other) const
Definition: description_types.hh:52
CTypes type_
Definition: description_types.hh:47
bool is_lal() const
Definition: description_types.hh:68
std::vector< int > int_alphabet
Definition: description_types.hh:49
std::vector< std::string > alphabet
Definition: description_types.hh:48
Definition: description_types.hh:117
bool operator==(weightset_description_impl const &other) const
Definition: description_types.hh:122
int type_
Definition: description_types.hh:118
int characteristic
Definition: description_types.hh:121
std::vector< weightset_description > children_
Definition: description_types.hh:120
context_description ct_
Definition: description_types.hh:119