#include <Smt2ExpressionAdapter.h>
Definition at line 19 of file Smt2ExpressionAdapter.h.
◆ Smt2ExpressionAdapter()
Creates an expression adapter that can translate expressions to the format of Smt2.
- Parameters
-
manager | The manager that can be used to build expressions. |
useReadableVarNames | sets whether the expressions should use human readable names for the variables or the internal representation |
Definition at line 27 of file Smt2ExpressionAdapter.h.
◆ checkForUndeclaredVariables()
std::vector< std::string > const storm::adapters::Smt2ExpressionAdapter::checkForUndeclaredVariables |
( |
std::set< storm::RationalFunctionVariable > const & |
variables | ) |
|
|
inline |
Checks whether the variables in the given set are already declared and creates them if necessary.
- Parameters
-
variables | the set of variables to check |
Definition at line 104 of file Smt2ExpressionAdapter.h.
◆ decreaseScope()
void storm::adapters::Smt2ExpressionAdapter::decreaseScope |
( |
uint_fast64_t |
n = 1 | ) |
|
|
inline |
◆ getVariable()
Finds the counterpart to the given smt2 variable declaration.
- Parameters
-
smt2Declaration | The declaration for which to find the equivalent. |
- Returns
- The equivalent counterpart.
Definition at line 84 of file Smt2ExpressionAdapter.h.
◆ increaseScope()
void storm::adapters::Smt2ExpressionAdapter::increaseScope |
( |
uint_fast64_t |
n = 1 | ) |
|
|
inline |
◆ translateExpression() [1/4]
Translates the given expression to an equivalent expression for Smt2.
- Parameters
-
expression | The expression to translate. |
- Returns
- An equivalent expression for Smt2.
Definition at line 37 of file Smt2ExpressionAdapter.h.
◆ translateExpression() [2/4]
Translates the given variable to an equivalent expression for Smt2.
- Parameters
-
variable | The variable to translate. |
- Returns
- An equivalent expression for smt2.
Definition at line 74 of file Smt2ExpressionAdapter.h.
◆ translateExpression() [3/4]
Translates the given constraint "leftHandSide relation 0" to an equivalent expression for Smt2.
- Parameters
-
- Returns
- An equivalent expression for Smt2.
Definition at line 62 of file Smt2ExpressionAdapter.h.
◆ translateExpression() [4/4]
Translates the given constraint "leftHandSide relation rightHandSide" to an equivalent expression for Smt2.
- Parameters
-
leftHandSide | |
relation | |
RightHandSide | |
- Returns
- An equivalent expression for Smt2.
Definition at line 49 of file Smt2ExpressionAdapter.h.
The documentation for this class was generated from the following file: