Inheritance diagram for MetaElement< algebra::SeriesBase< Self >, T >:
Public Types | |
typedef algebra::series_traits< T >::semiring_elt_value_t | semiring_elt_value_t |
type of the implementation of semiring_elt (element of semiring). | |
typedef algebra::series_traits< T >::monoid_value_t | monoid_value_t |
type of the implementation of free monoid element. | |
typedef Element< typename Self::semiring_t, semiring_elt_value_t > | semiring_elt_t |
type of the element of the semiring element. | |
typedef Element< typename Self::monoid_t, monoid_value_t > | monoid_elt_t |
type of the element of the monoid. | |
typedef Element< Self, T > | element_t |
type of the series. | |
typedef algebra::series_traits< T >::support_t | support_t |
type of the iterator over the series when finite. | |
Public Member Functions | |
semiring_elt_value_t | get (const monoid_value_t &m) const |
returns the weight associated to a word. | |
semiring_elt_t | get (const monoid_elt_t &m) const |
returns the weight associated to a word. | |
void | assoc (const monoid_value_t &m, const semiring_elt_value_t &w) |
associates a semiring_elt to a word. | |
void | assoc (const monoid_elt_t &m, const semiring_elt_t &w) |
associates a weight to a word. | |
bool | is_finite_app () const |
returns true if the series support is finite. | |
monoid_elt_t | choose_from_supp () const |
returns a word that is in the support of the series. | |
void | transpose () |
in-place transpose transformation of the series. | |
support_t | supp () const |
Returns a container which is the support of the series. | |
Protected Member Functions | |
MetaElement () | |
Default constructor is protected since it is an abstract class. | |
MetaElement (const MetaElement &other) | |
Copy constructor is protected since it is an abstract class. |
|
Returns a container which is the support of the series. The container elements are couples (m, k) where m is in the support and k is the image of m by the series. The support is accessible only if is_finite_app is true. |