ConstantTermEval Class Template Reference

This is the visitor that really computes the constant term. More...

Inheritance diagram for ConstantTermEval:

Inheritance graph
[legend]
List of all members.

Public Types

typedef ConstantTermEval<
Series, T, Dispatch > 
self_t
typedef Element< Series, T
>::semiring_elt_t 
return_type
typedef Element< Series, T
>::semiring_elt_t 
semiring_elt_t
typedef semiring_elt_t::value_t semiring_elt_value_t
typedef T::monoid_elt_value_t monoid_elt_value_t

Public Member Functions

 ConstantTermEval (const Element< Series, T > &exp)
 MATCH__ (Product, lhs, rhs)
END MATCH__ (Sum, lhs, rhs)
END MATCH_ (Star, node)
END MATCH__ (LeftWeight, w, node)
END MATCH__ (RightWeight, node, w)
END MATCH_ (Constant, m)
END MATCH (Zero)
END MATCH (One)
match (const T &ast)
 Effectively performs the match.

Public Attributes

END bool undefined

Detailed Description

template<class Series, class T, class Dispatch>
class vcsn::ConstantTermEval< Series, T, Dispatch >

This is the visitor that really computes the constant term.

This class should be used only in constant_term() and should not be instanciated from elsewhere.

See also:
constant_term()

Definition at line 34 of file krat_exp_constant_term.hxx.


Member Function Documentation

U match ( const T &  ast  )  [inherited]

Effectively performs the match.

Parameters:
ast The object to perform the match on.
See also:
DispatchVisitor::DispatchVisitor

Definition at line 128 of file krat_exp_pattern.hxx.

Referenced by vcsn::cderivate(), vcsn::algebra::coefficient(), vcsn::constant_term(), vcsn::derivate(), vcsn::do_broken_derived_term_automaton(), vcsn::do_canonical(), vcsn::do_is_realtime(), vcsn::do_realtime(), vcsn::do_realtime_here(), KRatExpFlatten::flatten(), KRatExpExpander::get(), KRatExpLinearize::linearize(), Standard_OfVisitor::MATCH_(), KRatExpIsRealtime::MATCH_(), KRatExpIdentity< vcsn::algebra::KRatExpTranspose< vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >, vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >::MATCH_(), KRatExpPartialDerivation::MATCH_(), KRatExpLinearize::MATCH_(), KRatExpFlatten::MATCH_(), KRatExpExpander::MATCH_(), KRatExpDerivation::MATCH_(), ConstantTermEval::MATCH_(), KRatExpCDerivation::MATCH_(), KRatExpAciCanonical::MATCH_(), Standard_OfVisitor::MATCH__(), KRatExpTranspose::MATCH__(), SupportMatcher::MATCH__(), KRatExpIsRealtime::MATCH__(), KRatExpIdentity< vcsn::algebra::KRatExpTranspose< vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >, vcsn::algebra::Series< Semiring, Monoid >, T, Dispatch >::MATCH__(), KRatExpPartialDerivation::MATCH__(), KRatExpLinearize::MATCH__(), IsFiniteAppMatcher::MATCH__(), KRatExpFlatten::MATCH__(), KRatExpExpander::MATCH__(), KRatExpDerivation::MATCH__(), ConstantTermEval::MATCH__(), KRatExpCDerivation::MATCH__(), KRatExpInitialDerivation::MATCH__(), KRatExpAciCanonical::MATCH__(), vcsn::op_is_finite_app(), vcsn::op_support(), and vcsn::partial_derivate().


Generated on Wed Jun 13 17:03:21 2007 for Vaucanson by  doxygen 1.5.1