mCRL2
|
Represents a vertex of the dependency graph. More...
#include <constelm.h>
Public Member Functions | |
vertex ()=default | |
Constructor. | |
vertex (propositional_variable x) | |
Constructor. | |
const propositional_variable & | variable () const |
The propositional variable that corresponds to the vertex. | |
const qvar_list & | quantified_variables () const |
const constraint_map & | constraints () const |
Maps data variables to data expressions. If the right hand side is a data variable, it means that it represents NaC ("not a constant"). | |
std::vector< std::size_t > | constant_parameter_indices () const |
Returns the indices of the constant parameters of this vertex. | |
std::string | to_string () const |
Returns a string representation of the vertex. | |
bool | update (const qvar_list &qvars, const data::data_expression_list &e, const constraint_map &e_constraints, const DataRewriter &datar) |
Assign new values to the parameters of this vertex, and update the constraints accordingly. The new values have a number of constraints. | |
Protected Member Functions | |
bool | is_constant (const data::variable &v) const |
Returns true if the parameter v has been assigned a constant expression. | |
bool | bound_in_quantifiers (const qvar_list &qvars, const data::data_expression &e) |
Returns true iff all free variables in e are bound in qvars. | |
void | fix_constraints (std::vector< data::data_expression > deleted_constraints) |
Weaken the constraints so they satisfy. | |
Protected Attributes | |
propositional_variable | m_variable |
The propositional variable that corresponds to the vertex. | |
qvar_list | m_qvars |
The list of quantified variables that occur in the constraints. | |
constraint_map | m_constraints |
Maps data variables to data expressions. If a parameter is not. | |
bool | m_visited = false |
Indicates whether this vertex has been visited at least once. | |
Represents a vertex of the dependency graph.
Definition at line 528 of file constelm.h.
|
default |
Constructor.
|
inline |
Constructor.
x | A propositional variable declaration |
Definition at line 606 of file constelm.h.
|
inlineprotected |
Returns true iff all free variables in e are bound in qvars.
Definition at line 554 of file constelm.h.
|
inline |
Returns the indices of the constant parameters of this vertex.
Definition at line 630 of file constelm.h.
|
inline |
Maps data variables to data expressions. If the right hand side is a data variable, it means that it represents NaC ("not a constant").
Definition at line 623 of file constelm.h.
|
inlineprotected |
Weaken the constraints so they satisfy.
Definition at line 566 of file constelm.h.
|
inlineprotected |
Returns true if the parameter v has been assigned a constant expression.
v | A parameter of this->variable() |
Definition at line 547 of file constelm.h.
|
inline |
Definition at line 616 of file constelm.h.
|
inline |
Returns a string representation of the vertex.
Definition at line 647 of file constelm.h.
|
inline |
Assign new values to the parameters of this vertex, and update the constraints accordingly. The new values have a number of constraints.
Definition at line 664 of file constelm.h.
|
inline |
The propositional variable that corresponds to the vertex.
Definition at line 611 of file constelm.h.
|
protected |
Maps data variables to data expressions. If a parameter is not.
Definition at line 539 of file constelm.h.
|
protected |
The list of quantified variables that occur in the constraints.
Definition at line 535 of file constelm.h.
|
protected |
The propositional variable that corresponds to the vertex.
Definition at line 532 of file constelm.h.
|
protected |
Indicates whether this vertex has been visited at least once.
Definition at line 542 of file constelm.h.