Awali
Another Weighted Automata library
|
Add support for an empty word to a LabelSet that does not provide such special label to this end. More...
#include <nullableset.hh>
Public Types | |
using | kind_t = typename LabelSet::kind_t |
using | labelset_t = LabelSet |
using | null = nullableset< labelset_t > |
using | value_t = std::pair< typename labelset_t::value_t, bool > |
Static Public Member Functions | |
static ATTRIBUTE_PURE labelset_t::value_t | get_value (const value_t &v) |
static ATTRIBUTE_PURE bool | is_one (value_t l) |
template<typename Ls > | |
static ATTRIBUTE_PURE std::enable_if< Ls::has_one(), bool >::type | is_one_ (value_t l) |
template<typename Ls > | |
static ATTRIBUTE_PURE std::enable_if<!Ls::has_one(), bool >::type | is_one_ (value_t l) |
static null | make (std::istream &is) |
static constexpr ATTRIBUTE_PURE value_t | one () |
static constexpr ATTRIBUTE_PURE value_t | special () |
template<typename... Args> | |
static value_t | value (const labelset_t &ls, Args &&... args) |
Add support for an empty word to a LabelSet that does not provide such special label to this end.
using awali::sttc::internal::nullable_helper< LabelSet >::kind_t = typename LabelSet::kind_t |
using awali::sttc::internal::nullable_helper< LabelSet >::labelset_t = LabelSet |
using awali::sttc::internal::nullable_helper< LabelSet >::null = nullableset<labelset_t> |
using awali::sttc::internal::nullable_helper< LabelSet >::value_t = std::pair<typename labelset_t::value_t, bool> |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticconstexpr |
|
staticconstexpr |
|
static |