![]() |
Awali
Another Weighted Automata library
|
Namespace containing functions to build arbitrary automata context (advanced and mostly undocumented). More...
Data Structures | |
| struct | abstract_weightset |
| struct | basic_weightset |
| struct | bounded_weightset |
| struct | context_description_impl |
| struct | cyclic_weightset |
| struct | labelset_description_impl |
| struct | weightset_description_impl |
| struct | WTypes |
Typedefs | |
| using | context_description = std::shared_ptr< context_description_impl > |
| using | labelset_description = std::shared_ptr< labelset_description_impl > |
| using | weightset_description = std::shared_ptr< weightset_description_impl > |
Enumerations | |
| enum class | CTypes { ONESET , NULLABLE , LETTERSET , INTLETTERSET , WORDSET , TUPLE } |
Namespace containing functions to build arbitrary automata context (advanced and mostly undocumented).
| struct awali::dyn::context::context_description_impl |
| Data Fields | ||
|---|---|---|
| labelset_description | ls_ | |
| weightset_description | ws_ | |
| struct awali::dyn::context::labelset_description_impl |
| Data Fields | ||
|---|---|---|
| vector< string > | alphabet | |
| vector< labelset_description > | children_ | |
| vector< int > | int_alphabet | |
| CTypes | type_ | |
| struct awali::dyn::context::weightset_description_impl |
| Data Fields | ||
|---|---|---|
| int | characteristic | |
| vector< weightset_description > | children_ | |
| context_description | ct_ | |
| int | type_ | |
| using awali::dyn::context::context_description = typedef std::shared_ptr<context_description_impl> |
| using awali::dyn::context::labelset_description = typedef std::shared_ptr<labelset_description_impl> |
| using awali::dyn::context::weightset_description = typedef std::shared_ptr<weightset_description_impl> |
|
strong |
| std::vector<std::string> awali::dyn::context::all_weightset_public_descriptions | ( | ) |
| std::vector<std::string> awali::dyn::context::all_weightset_public_static_names | ( | ) |
| std::string awali::dyn::context::all_weightset_public_static_names_as_string | ( | ) |
| context_description awali::dyn::context::c_desc | ( | labelset_description | ls, |
| weightset_description | ws | ||
| ) |
| const std::vector<abstract_weightset*>& awali::dyn::context::instances | ( | ) |
| labelset_description awali::dyn::context::intletterset | ( | int | a, |
| int | b | ||
| ) |
| labelset_description awali::dyn::context::intletterset | ( | int | n | ) |
| bool awali::dyn::context::is_promotable | ( | weightset_description | src, |
| weightset_description | dest | ||
| ) |
| labelset_description awali::dyn::context::letterset | ( | std::string | s | ) |
| labelset_description awali::dyn::context::ltupleset | ( | std::vector< labelset_description > | lss | ) |
| context_description awali::dyn::context::make_context_description | ( | ) |
| labelset_description awali::dyn::context::make_labelset_description | ( | ) |
| weightset_description awali::dyn::context::make_weightset_description | ( | ) |
| labelset_description awali::dyn::context::nullableset | ( | labelset_description | ls1 | ) |
| labelset_description awali::dyn::context::oneset | ( | ) |
| context_description awali::dyn::context::parse_context | ( | json::object_t const * | jp | ) |
| context_description awali::dyn::context::parse_context | ( | std::istream & | i | ) |
| labelset_description awali::dyn::context::parse_labelset | ( | json::object_t const * | jp | ) |
| weightset_description awali::dyn::context::parse_weightset | ( | json::object_t const * | jp | ) |
| weightset_description awali::dyn::context::ratweight | ( | context_description | cd | ) |
| std::string awali::dyn::context::tostring | ( | context_description | ct, |
| bool | dynamic | ||
| ) |
| std::string awali::dyn::context::tostring | ( | labelset_description | ls, |
| bool | dynamic | ||
| ) |
| std::string awali::dyn::context::tostring | ( | weightset_description | ws, |
| bool | dynamic | ||
| ) |
| weightset_description awali::dyn::context::weightset | ( | const std::string & | k | ) |
| std::vector<std::string> const& awali::dyn::context::weightset_promotion_public_static_names | ( | weightset_description | ws | ) |
| labelset_description awali::dyn::context::wordset | ( | std::string | s | ) |
| weightset_description awali::dyn::context::wtupleset | ( | std::vector< weightset_description > | wss | ) |