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

#include <hash.hh>

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

Public Types

using context_t = context_t_of< ratexpset_t >
 
using inner_t = typename super_type::inner_t
 
using leaf_t = typename super_type::leaf_t
 
using node_t = typename super_type::node_t
 
using ratexpset_t = RatExpSet
 
using super_type = typename ratexpset_t::const_visitor
 
template<type_t Type>
using unary_t = typename super_type::template unary_t< Type >
 
template<type_t Type>
using variadic_t = typename super_type::template variadic_t< Type >
 
template<type_t Type>
using weight_node_t = typename super_type::template weight_node_t< Type >
 
using weight_t = typename context_t::weightset_t::value_t
 

Public Member Functions

size_t operator() (const node_t &v)
 Entry point: return the hash of v. More...
 
size_t operator() (const std::shared_ptr< const node_t > &v)
 Entry point: return the hash of v. More...
 

Member Typedef Documentation

◆ context_t

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

◆ inner_t

template<typename RatExpSet >
using awali::sttc::rat::hash< RatExpSet >::inner_t = typename super_type::inner_t

◆ leaf_t

template<typename RatExpSet >
using awali::sttc::rat::hash< RatExpSet >::leaf_t = typename super_type::leaf_t

◆ node_t

template<typename RatExpSet >
using awali::sttc::rat::hash< RatExpSet >::node_t = typename super_type::node_t

◆ ratexpset_t

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

◆ super_type

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

◆ unary_t

template<typename RatExpSet >
template<type_t Type>
using awali::sttc::rat::hash< RatExpSet >::unary_t = typename super_type::template unary_t<Type>

◆ variadic_t

template<typename RatExpSet >
template<type_t Type>
using awali::sttc::rat::hash< RatExpSet >::variadic_t = typename super_type::template variadic_t<Type>

◆ weight_node_t

template<typename RatExpSet >
template<type_t Type>
using awali::sttc::rat::hash< RatExpSet >::weight_node_t = typename super_type::template weight_node_t<Type>

◆ weight_t

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

Member Function Documentation

◆ operator()() [1/2]

template<typename RatExpSet >
size_t awali::sttc::rat::hash< RatExpSet >::operator() ( const node_t v)

Entry point: return the hash of v.

◆ operator()() [2/2]

template<typename RatExpSet >
size_t awali::sttc::rat::hash< RatExpSet >::operator() ( const std::shared_ptr< const node_t > &  v)

Entry point: return the hash of v.


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