Inheritance diagram for vcsn::algebra::SemiringBase:
Public Methods | |
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 | |
SemiringBase () | |
Default constructor is protected since it is an abstract class. | |
SemiringBase (const SemiringBase &other) | |
Copy constructor is protected since it is an abstract class. |