Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
vcsn::detail::evaluator< Aut > Class Template Reference

#include <eval.hh>

Collaboration diagram for vcsn::detail::evaluator< Aut >:

Public Member Functions

 evaluator (const automaton_t &a)
 
weight_t operator() (const word_t &word) const
 

Private Types

using automaton_t = Aut
 
using state_t = state_t_of< automaton_t >
 
using word_t = typename labelset_t_of< automaton_t >::word_t
 
using weightset_t = weightset_t_of< automaton_t >
 
using weight_t = typename weightset_t::value_t
 
using weights_t = std::vector< weight_t >
 

Private Attributes

const automaton_ta_
 
const weightset_tws_
 

Detailed Description

template<typename Aut>
class vcsn::detail::evaluator< Aut >

Definition at line 18 of file eval.hh.

Member Typedef Documentation

template<typename Aut>
using vcsn::detail::evaluator< Aut >::automaton_t = Aut
private

Definition at line 23 of file eval.hh.

template<typename Aut>
using vcsn::detail::evaluator< Aut >::state_t = state_t_of<automaton_t>
private

Definition at line 24 of file eval.hh.

template<typename Aut>
using vcsn::detail::evaluator< Aut >::weight_t = typename weightset_t::value_t
private

Definition at line 27 of file eval.hh.

template<typename Aut>
using vcsn::detail::evaluator< Aut >::weights_t = std::vector<weight_t>
private

Definition at line 30 of file eval.hh.

template<typename Aut>
using vcsn::detail::evaluator< Aut >::weightset_t = weightset_t_of<automaton_t>
private

Definition at line 26 of file eval.hh.

template<typename Aut>
using vcsn::detail::evaluator< Aut >::word_t = typename labelset_t_of<automaton_t>::word_t
private

Definition at line 25 of file eval.hh.

Constructor & Destructor Documentation

template<typename Aut>
vcsn::detail::evaluator< Aut >::evaluator ( const automaton_t a)
inline

Definition at line 33 of file eval.hh.

Member Function Documentation

template<typename Aut>
weight_t vcsn::detail::evaluator< Aut >::operator() ( const word_t word) const
inline

An array indexed by state numbers.

Definition at line 38 of file eval.hh.

References vcsn::detail::evaluator< Aut >::a_, and vcsn::detail::evaluator< Aut >::ws_.

Member Data Documentation

template<typename Aut>
const automaton_t& vcsn::detail::evaluator< Aut >::a_
private

Definition at line 76 of file eval.hh.

Referenced by vcsn::detail::evaluator< Aut >::operator()().

template<typename Aut>
const weightset_t& vcsn::detail::evaluator< Aut >::ws_
private

Definition at line 77 of file eval.hh.

Referenced by vcsn::detail::evaluator< Aut >::operator()().


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