|
Storm 1.11.1.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 262 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 111 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 293 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createIntegerLiteralExpression | ( | storm::RationalNumber const & | value, |
| bool & | pass, | ||
| bool & | overflow | ||
| ) | const |
Definition at line 245 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 270 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 157 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 37 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 134 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 180 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 326 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createRationalLiteralExpression | ( | storm::RationalNumber const & | value, |
| bool & | pass | ||
| ) | const |
Definition at line 232 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 82 of file ExpressionCreator.cpp.
| storm::expressions::Expression storm::parser::ExpressionCreator::createRoundExpression | ( | storm::expressions::Expression const & | e1, |
| bool & | pass | ||
| ) | const |
Definition at line 315 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 206 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 347 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 362 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 372 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 383 of file ExpressionCreator.cpp.