Awali
Another Weighted Automata library
Public Types | Public Member Functions | Static Public Member Functions
awali::sttc::rat::expand_visitor< RatExpSet > Class Template Reference

#include <expand.hh>

Inheritance diagram for awali::sttc::rat::expand_visitor< RatExpSet >:

Public Types

using context_t = context_t_of< ratexpset_t >
 
using polynomial_t = typename polynomialset_t::value_t
 
using polynomialset_t = ratexp_polynomialset_t< ratexpset_t >
 
using ratexp_t = typename ratexpset_t::value_t
 
using ratexpset_t = RatExpSet
 
using super_type = typename RatExpSet::const_visitor
 
using weight_t = typename weightset_t::value_t
 
using weightset_t = weightset_t_of< ratexpset_t >
 

Public Member Functions

 expand_visitor (const ratexpset_t &rs)
 
 AWALI_RAT_VISIT (atom, v)
 
 AWALI_RAT_VISIT (conjunction, v)
 
 AWALI_RAT_VISIT (lweight, v)
 
 AWALI_RAT_VISIT (one,)
 
 AWALI_RAT_VISIT (prod, v)
 
 AWALI_RAT_VISIT (rweight, v)
 
 AWALI_RAT_VISIT (star, v)
 
 AWALI_RAT_VISIT (sum, v)
 
 AWALI_RAT_VISIT (zero,)
 
polynomial_t expand (const ratexp_t &e)
 Syntactic sugar: recursive call to this visitor. More...
 
ratexp_t operator() (const ratexp_t &v)
 
ratexp_t ratexp (const polynomial_t p)
 

Static Public Member Functions

constexpr static const char * me ()
 

Detailed Description

template<typename RatExpSet>
class awali::sttc::rat::expand_visitor< RatExpSet >

Template Parameters
RatExpSetrelative to the RatExp.

Member Typedef Documentation

◆ context_t

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::context_t = context_t_of<ratexpset_t>

◆ polynomial_t

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::polynomial_t = typename polynomialset_t::value_t

◆ polynomialset_t

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::polynomialset_t = ratexp_polynomialset_t<ratexpset_t>

◆ ratexp_t

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::ratexp_t = typename ratexpset_t::value_t

◆ ratexpset_t

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::ratexpset_t = RatExpSet

◆ super_type

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::super_type = typename RatExpSet::const_visitor

◆ weight_t

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::weight_t = typename weightset_t::value_t

◆ weightset_t

template<typename RatExpSet >
using awali::sttc::rat::expand_visitor< RatExpSet >::weightset_t = weightset_t_of<ratexpset_t>

Constructor & Destructor Documentation

◆ expand_visitor()

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::expand_visitor ( const ratexpset_t rs)

Member Function Documentation

◆ AWALI_RAT_VISIT() [1/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( atom  ,
 
)

◆ AWALI_RAT_VISIT() [2/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( conjunction  ,
 
)

◆ AWALI_RAT_VISIT() [3/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( lweight  ,
 
)

◆ AWALI_RAT_VISIT() [4/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( one  )

◆ AWALI_RAT_VISIT() [5/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( prod  ,
 
)

◆ AWALI_RAT_VISIT() [6/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( rweight  ,
 
)

◆ AWALI_RAT_VISIT() [7/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( star  ,
 
)

◆ AWALI_RAT_VISIT() [8/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( sum  ,
 
)

◆ AWALI_RAT_VISIT() [9/9]

template<typename RatExpSet >
awali::sttc::rat::expand_visitor< RatExpSet >::AWALI_RAT_VISIT ( zero  )

◆ expand()

template<typename RatExpSet >
polynomial_t awali::sttc::rat::expand_visitor< RatExpSet >::expand ( const ratexp_t e)

Syntactic sugar: recursive call to this visitor.

◆ me()

template<typename RatExpSet >
constexpr static const char* awali::sttc::rat::expand_visitor< RatExpSet >::me ( )
staticconstexpr

◆ operator()()

template<typename RatExpSet >
ratexp_t awali::sttc::rat::expand_visitor< RatExpSet >::operator() ( const ratexp_t v)

◆ ratexp()

template<typename RatExpSet >
ratexp_t awali::sttc::rat::expand_visitor< RatExpSet >::ratexp ( const polynomial_t  p)

The documentation for this class was generated from the following file: