Awali
Another Weighted Automata library
|
Abstract interface for rational expression at the dynamical layer; lists the services provided by automata. More...
#include <abstract_ratexp.hh>
Public Member Functions | |
virtual | ~abstract_ratexp_t () |
virtual ratexp_t | add (ratexp_t) const =0 |
virtual std::vector< label_t > | alphabet () const =0 |
Gets the alphabet of this abstract_ratexp_t. More... | |
virtual unsigned | arity () const =0 |
Returns the number of children this abstract_ratexp_t has. More... | |
virtual const std::vector< ratexp_t > & | children () const =0 |
Returns the children of this abstract_ratexp_t. More... | |
virtual context_t | get_context () const =0 |
Gets the context of this abstract_ratexp_t. More... | |
virtual ExpKind | get_kind () const =0 |
Gets the kind of this abstract_ratexp_t. More... | |
virtual unsigned | height () const =0 |
virtual unsigned | length () const =0 |
virtual ratexp_t | lmul (weight_t w) const =0 |
virtual weight_t | lweight () const =0 |
Gets the left weight of this abstract_ratexp_t. More... | |
virtual ratexp_t | mult (ratexp_t) const =0 |
virtual std::ostream & | print (std::ostream &) const =0 |
virtual ratexp_t | rmul (weight_t w) const =0 |
virtual weight_t | rweight () const =0 |
Gets the right weight of this abstract_ratexp_t. More... | |
virtual unsigned | size () const =0 |
virtual ratexp_t | star () const =0 |
virtual unsigned | star_height () const =0 |
Returns the maximal number of nested stars in this abstract_ratexp_t. More... | |
virtual label_t | value () const =0 |
Gets the label of this abstract_ratexp_t (only for expression of kind ExpKind::ATOM). More... | |
Abstract interface for rational expression at the dynamical layer; lists the services provided by automata.
See the static functions in ratexp_t for constructors.
|
virtual |
|
pure virtual |
Gets the alphabet of this abstract_ratexp_t.
|
pure virtual |
Returns the number of children this abstract_ratexp_t has.
|
pure virtual |
Returns the children of this abstract_ratexp_t.
|
pure virtual |
Gets the context of this abstract_ratexp_t.
|
pure virtual |
Gets the kind of this abstract_ratexp_t.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Gets the left weight of this abstract_ratexp_t.
|
pure virtual |
|
pure virtual |
Gets the right weight of this abstract_ratexp_t.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns the maximal number of nested stars in this abstract_ratexp_t.
|
pure virtual |
Gets the label of this abstract_ratexp_t (only for expression of kind ExpKind::ATOM).