Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

vcsn::algebra::SeriesBase Struct Template Reference
[Series]

Structural element of series K<A*> from a free monoid A* to a semiring K. More...

Inheritance diagram for vcsn::algebra::SeriesBase:

Inheritance graph
[legend]
List of all members.

Public Types

typedef virtual_types< Self
>::monoid_t 
monoid_t
 The type of the free monoid A*.

typedef virtual_types< Self
>::weights_t 
weights_t
 The type of the semiring K.


Public Methods

const monoid_tmonoid () const
 Accessor to the monoid (const version).

const weights_tweights () const
 Accessor to the semiring (const version).

monoid_tmonoid ()
 Accessor to the monoid.

weights_tweights ()
 Accessor to the semiring.

template<class T> bool can_choose_non_stareable (SELECTOR(T)) const
 Indicate wether it is possible or not to call choose_non_stareable.

template<class T> Element< Self, T > choose_stareable (SELECTOR(T)) const
 Return a randomly choosed stareable weight.

template<class T> Element< Self, T > choose_non_stareable (SELECTOR(T)) const
 Return a randomly choosed non-stareable weight.

template<typename T> Element< Self, T > identity (SELECTOR(T)) const
 returns the identity of the monoid (if mul_kind).

template<typename T> Element< Self, T > zero (SELECTOR(T)) const
 returns the zero of the monoid (if add_kind).


Protected Methods

 SeriesBase ()
 Default constructor is protected since it is an abstract class.

 SeriesBase (const SeriesBase &other)
 Copy constructor is protected since it is an abstract class.


Detailed Description

template<class Self>
struct vcsn::algebra::SeriesBase< Self >

Structural element of series K<A*> from a free monoid A* to a semiring K.


Generated on Wed Jul 2 19:09:12 2003 for Vaucanson by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002