mCRL2
|
The default element for the todo list of the enumerator. More...
#include <enumerator.h>
Public Types | |
typedef Expression | expression_type |
Public Member Functions | |
enumerator_list_element ()=default | |
Default constructor. | |
enumerator_list_element (data::variable_list v_, const Expression &phi_) | |
Constructs the element (v, phi) | |
enumerator_list_element (data::variable_list v_, const Expression &phi_, const enumerator_list_element &) | |
Constructs the element (v, phi) | |
enumerator_list_element (data::variable_list v_, const Expression &phi_, const enumerator_list_element &, const data::variable &, const data::data_expression &) | |
Constructs the element (v, phi) | |
const data::variable_list & | variables () const |
const Expression & | expression () const |
Expression & | expression () |
bool | is_solution () const |
void | invalidate () |
Invalidates the element, by giving phi an undefined value. | |
bool | is_valid () const |
Returns true if the element is valid. If it becomes false, this is used to signal that the enumeration has been aborted. | |
void | mark (atermpp::term_mark_stack &todo) const |
The following function is needed to mark the aterms in this class, when elements of this class are used in an atermpp standard container. When garbage collection of aterms is taking place this function is called for all elements of this class in the atermpp container. | |
void | set (const data::variable_list &v_, const Expression &phi_) |
Set the variables and the condition explicitly. | |
void | set (const data::variable_list &v_, const Expression &phi_, const enumerator_list_element &) |
Set the variables and the condition explicitly. | |
void | set (const data::variable_list &v_, const Expression &phi_, const enumerator_list_element &, const data::variable &, const data::data_expression &) |
Set the variable ands and the expression explicitly as the element (v, phi, e.sigma[v := x]). | |
Protected Attributes | |
data::variable_list | v |
Expression | phi |
The default element for the todo list of the enumerator.
Definition at line 230 of file enumerator.h.
typedef Expression mcrl2::data::enumerator_list_element< Expression >::expression_type |
Definition at line 237 of file enumerator.h.
|
default |
Default constructor.
|
inline |
Constructs the element (v, phi)
Definition at line 243 of file enumerator.h.
|
inline |
Constructs the element (v, phi)
Definition at line 248 of file enumerator.h.
|
inline |
Constructs the element (v, phi)
Definition at line 256 of file enumerator.h.
|
inline |
Definition at line 275 of file enumerator.h.
|
inline |
Definition at line 270 of file enumerator.h.
|
inline |
Invalidates the element, by giving phi an undefined value.
Definition at line 286 of file enumerator.h.
|
inline |
Definition at line 280 of file enumerator.h.
|
inline |
Returns true if the element is valid. If it becomes false, this is used to signal that the enumeration has been aborted.
Definition at line 293 of file enumerator.h.
|
inline |
The following function is needed to mark the aterms in this class, when elements of this class are used in an atermpp standard container. When garbage collection of aterms is taking place this function is called for all elements of this class in the atermpp container.
Definition at line 302 of file enumerator.h.
|
inline |
Set the variables and the condition explicitly.
v_ | The variable list. |
phi_ | The condition. |
Definition at line 311 of file enumerator.h.
|
inline |
Set the variables and the condition explicitly.
v_ | The variable list. |
phi_ | The condition. |
Other arguments than the first two are ignored.
Definition at line 321 of file enumerator.h.
|
inline |
Set the variable ands and the expression explicitly as the element (v, phi, e.sigma[v := x]).
v_ | The variable list. |
phi_ | The condition. |
Other arguments than the first two are ignored.
Definition at line 332 of file enumerator.h.
|
inline |
Definition at line 265 of file enumerator.h.
|
protected |
Definition at line 234 of file enumerator.h.
|
protected |
Definition at line 233 of file enumerator.h.