|
Storm 1.14.0.1
A Modern Probabilistic Model Checker
|
#include <ExpressionCreator.h>
Definition at line 17 of file ExpressionCreator.h.
| storm::parser::ExpressionCreator::ExpressionCreator | ( | storm::expressions::ExpressionManager const & | manager | ) |
Definition at line 15 of file ExpressionCreator.cpp.
| storm::parser::ExpressionCreator::~ExpressionCreator | ( | ) |
Definition at line 19 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createAndExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 60 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createBooleanLiteralExpression | ( | bool | value, |
| bool & | pass ) const |
Definition at line 246 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createEqualsExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 104 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createFloorCeilExpression | ( | storm::expressions::OperatorType const & | operatorType, |
| storm::expressions::Expression const & | e1, | ||
| bool & | pass ) const |
Definition at line 275 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createIntegerLiteralExpression | ( | storm::RationalNumber const & | value, |
| bool & | pass, | ||
| bool & | overflow ) const |
Definition at line 229 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createIteExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::Expression const & | e2, | ||
| storm::expressions::Expression const & | e3, | ||
| bool & | pass ) const |
Definition at line 25 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createMinimumMaximumExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 254 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createMultExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 146 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createOrExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 39 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createPlusExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 125 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createPowerModuloLogarithmExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 167 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createPredicateExpression | ( | storm::expressions::OperatorType const & | opTyp, |
| std::vector< storm::expressions::Expression > const & | operands, | ||
| bool & | pass ) const |
Definition at line 306 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createRationalLiteralExpression | ( | storm::RationalNumber const & | value, |
| bool & | pass ) const |
Definition at line 216 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createRelationalExpression | ( | storm::expressions::Expression const & | e1, |
| storm::expressions::OperatorType const & | operatorType, | ||
| storm::expressions::Expression const & | e2, | ||
| bool & | pass ) const |
Definition at line 79 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createRoundExpression | ( | storm::expressions::Expression const & | e1, |
| bool & | pass ) const |
Definition at line 295 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createUnaryExpression | ( | std::vector< storm::expressions::OperatorType > const & | operatorType, |
| storm::expressions::Expression const & | e1, | ||
| bool & | pass ) const |
Definition at line 190 of file ExpressionCreator.cpp.
|
inline |
Definition at line 47 of file ExpressionCreator.h.
| storm::expressions::Expression storm::parser::ExpressionCreator::getIdentifierExpression | ( | std::string const & | identifier, |
| bool & | pass ) const |
Definition at line 327 of file ExpressionCreator.cpp.
|
inline |
Definition at line 51 of file ExpressionCreator.h.
| void storm::parser::ExpressionCreator::setIdentifierMapping | ( | qi::symbols< char, storm::expressions::Expression > const * | identifiers_ | ) |
Sets an identifier mapping that is used to determine valid variables in the expression.
The mapped-to expressions will be substituted wherever the key value appears in the parsed expression. After setting this, the parser will generate expressions.
| identifiers_ | A pointer to a mapping from identifiers to expressions. |
Definition at line 342 of file ExpressionCreator.cpp.
| void storm::parser::ExpressionCreator::setIdentifierMapping | ( | std::unordered_map< std::string, storm::expressions::Expression > const & | identifierMapping | ) |
Sets an identifier mapping that is used to determine valid variables in the expression.
The mapped-to expressions will be substituted wherever the key value appears in the parsed expression. After setting this, the parser will generate expressions.
| identifierMapping | A mapping from identifiers to expressions. |
Definition at line 352 of file ExpressionCreator.cpp.
| void storm::parser::ExpressionCreator::unsetIdentifierMapping | ( | ) |
Unsets a previously set identifier mapping.
This will make the parser not generate expressions any more but merely check for syntactic correctness of an expression.
Definition at line 363 of file ExpressionCreator.cpp.