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

#include <constant_term.hh>

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

Public Types

using context_t = context_t_of< ratexpset_t >
 
using ratexp_t = typename ratexpset_t::ratexp_t
 
using ratexpset_t = RatExpSet
 
using super_type = typename ratexpset_t::const_visitor
 
using weight_t = weight_t_of< ratexpset_t >
 
using weightset_t = weightset_t_of< ratexpset_t >
 

Public Member Functions

 constant_term_visitor (const ratexpset_t &rs)
 
 AWALI_RAT_VISIT (atom,)
 
 AWALI_RAT_VISIT (complement, 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 (shuffle, v)
 
 AWALI_RAT_VISIT (star, v)
 
 AWALI_RAT_VISIT (sum, v)
 
 AWALI_RAT_VISIT (zero,)
 
weight_t constant_term (const ratexp_t &v)
 Easy recursion. More...
 
weight_t operator() (const ratexp_t &v)
 

Static Public Member Functions

constexpr static const char * me ()
 

Detailed Description

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

Template Parameters
RatExpSetthe ratexp set type.

Member Typedef Documentation

◆ context_t

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

◆ ratexp_t

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

◆ ratexpset_t

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

◆ super_type

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

◆ weight_t

template<typename RatExpSet >
using awali::sttc::rat::constant_term_visitor< RatExpSet >::weight_t = weight_t_of<ratexpset_t>

◆ weightset_t

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

Constructor & Destructor Documentation

◆ constant_term_visitor()

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

Member Function Documentation

◆ AWALI_RAT_VISIT() [1/11]

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

◆ AWALI_RAT_VISIT() [2/11]

template<typename RatExpSet >
awali::sttc::rat::constant_term_visitor< RatExpSet >::AWALI_RAT_VISIT ( complement  ,
 
)

◆ AWALI_RAT_VISIT() [3/11]

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

◆ AWALI_RAT_VISIT() [4/11]

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

◆ AWALI_RAT_VISIT() [5/11]

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

◆ AWALI_RAT_VISIT() [6/11]

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

◆ AWALI_RAT_VISIT() [7/11]

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

◆ AWALI_RAT_VISIT() [8/11]

template<typename RatExpSet >
awali::sttc::rat::constant_term_visitor< RatExpSet >::AWALI_RAT_VISIT ( shuffle  ,
 
)

◆ AWALI_RAT_VISIT() [9/11]

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

◆ AWALI_RAT_VISIT() [10/11]

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

◆ AWALI_RAT_VISIT() [11/11]

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

◆ constant_term()

template<typename RatExpSet >
weight_t awali::sttc::rat::constant_term_visitor< RatExpSet >::constant_term ( const ratexp_t v)

Easy recursion.

◆ me()

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

◆ operator()()

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

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