|
mCRL2
|
Base class for classes that provide information about the structure of. More...
#include <info.h>
Public Member Functions | |
| constexpr | Info (bool a_full, bool a_reverse) |
| Constructor that initializes the rewriter. | |
| Compare_Result | compare_guard (const data_expression &guard1, const data_expression &guard2, const std::vector< variable > &f_variables) const |
| Compares two guards. | |
| Compare_Result | compare_term (const data_expression &term1, const data_expression &term2) const |
| Compares two terms. | |
| std::size_t | get_number_of_arguments (const data_expression &a_term) const |
| Returns the number of arguments of the main operator of a term. | |
| data_expression | get_operator (const data_expression &term) const |
Returns the main operator of the term term;. | |
Static Public Member Functions | |
| static bool | occurs (const data_expression &t1, const data_expression &t2) |
Protected Member Functions | |
| Compare_Result | lexico (const Compare_Result &a_result1, const Compare_Result &a_result2) const |
| Compare_Result | compare_address (const atermpp::aterm &term1, const atermpp::aterm &term2) const |
| double | get_guard_structure (const data_expression &guard, const std::vector< variable > &f_variables) const |
Returns an integer corresponding to the structure of the guard passed as argument guard. | |
| Compare_Result | compare_guard_structure (const data_expression &guard1, const data_expression &guard2, const std::vector< variable > &f_variables) const |
| Compares the structure of two guards. | |
| Compare_Result | compare_guard_equality (const data_expression &guard1, const data_expression &guard2) const |
| Compares two guards by their arguments. | |
| Compare_Result | compare_term_free_variables (const data_expression &term1, const data_expression &term2) const |
| Compare_Result | compare_term_type (const data_expression &term1, const data_expression &term2) const |
| Compares terms by their type. | |
| Compare_Result | compare_term_occurs (const data_expression &term1, const data_expression &term2) const |
| Compares terms by checking whether one is a part of the other. | |
Protected Attributes | |
| const bool | f_full |
| Flag indicating whether or not the arguments of equality functions are taken into account. | |
| const bool | f_reverse |
| Flag indicating whether or not the result of the comparison between the first two arguments. | |
Base class for classes that provide information about the structure of.
data expressions in one of the internal formats of the rewriter.
|
inlineconstexpr |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Returns the number of arguments of the main operator of a term.
| a_term | An expression in the internal format of the rewriter with the jitty strategy. |
aterm is a constant or a variable. The number of arguments of the main operator, otherwise.
|
inline |
|
inlineprotected |
|
inlinestatic |
|
protected |
|
protected |