Awali
Another Weighted Automata library
|
#include <enumerate.hh>
Public Types | |
using | automaton_t = Aut |
using | context_t = context_t_of< Aut > |
using | genset_t = typename labelset_t_of< automaton_t >::genset_t |
using | label_t = label_t_of< automaton_t > |
using | labelset_t = labelset_t_of< automaton_t > |
using | monomial_t = std::pair< word_t, weight_t > |
Same as polynomial_t::value_type. More... | |
using | polynomial_t = typename polynomialset_t::value_t |
using | polynomialset_t = polynomialset< wordset_context_t > |
using | queue_t = std::list< std::pair< state_t, monomial_t > > |
using | weight_t = weight_t_of< automaton_t > |
using | weightset_t = weightset_t_of< automaton_t > |
using | word_t = typename labelset_t::word_t |
using | wordset_context_t = context< wordset_t, weightset_t > |
using | wordset_t = typename labelset_trait< labelset_t >::wordset_t |
Public Member Functions | |
enumerater (const automaton_t &aut) | |
polynomial_t | enumerate (unsigned max) |
The weighted accepted word with length at most max. More... | |
polynomial_t | shortest (unsigned num) |
The shortest accepted weighted words, or throw an exception. More... | |
using awali::sttc::internal::enumerater< Aut >::automaton_t = Aut |
using awali::sttc::internal::enumerater< Aut >::context_t = context_t_of<Aut> |
using awali::sttc::internal::enumerater< Aut >::genset_t = typename labelset_t_of<automaton_t>::genset_t |
using awali::sttc::internal::enumerater< Aut >::label_t = label_t_of<automaton_t> |
using awali::sttc::internal::enumerater< Aut >::labelset_t = labelset_t_of<automaton_t> |
using awali::sttc::internal::enumerater< Aut >::monomial_t = std::pair<word_t, weight_t> |
Same as polynomial_t::value_type.
using awali::sttc::internal::enumerater< Aut >::polynomial_t = typename polynomialset_t::value_t |
using awali::sttc::internal::enumerater< Aut >::polynomialset_t = polynomialset<wordset_context_t> |
using awali::sttc::internal::enumerater< Aut >::queue_t = std::list<std::pair<state_t, monomial_t> > |
using awali::sttc::internal::enumerater< Aut >::weight_t = weight_t_of<automaton_t> |
using awali::sttc::internal::enumerater< Aut >::weightset_t = weightset_t_of<automaton_t> |
using awali::sttc::internal::enumerater< Aut >::word_t = typename labelset_t::word_t |
using awali::sttc::internal::enumerater< Aut >::wordset_context_t = context<wordset_t,weightset_t> |
using awali::sttc::internal::enumerater< Aut >::wordset_t = typename labelset_trait<labelset_t>::wordset_t |
awali::sttc::internal::enumerater< Aut >::enumerater | ( | const automaton_t & | aut | ) |
polynomial_t awali::sttc::internal::enumerater< Aut >::enumerate | ( | unsigned | max | ) |
The weighted accepted word with length at most max.
polynomial_t awali::sttc::internal::enumerater< Aut >::shortest | ( | unsigned | num | ) |
The shortest accepted weighted words, or throw an exception.