Inheritance diagram for vcsn::algebra::SeriesBase:
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_t & | monoid () const |
Accessor to the monoid (const version). | |
const weights_t & | weights () const |
Accessor to the semiring (const version). | |
monoid_t & | monoid () |
Accessor to the monoid. | |
weights_t & | weights () |
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. |