|
|
@ -25,6 +25,7 @@ typedef BOOST_TYPEOF(qi::lit("//") >> *(qi::char_ - qi::eol) >> qi::eol | boost: |
|
|
|
|
|
|
|
#include "src/storage/prism/Program.h" |
|
|
|
#include "src/storage/expressions/Expression.h" |
|
|
|
#include "src/storage/expressions/Expressions.h" |
|
|
|
#include "src/exceptions/ExceptionMacros.h" |
|
|
|
|
|
|
|
namespace storm { |
|
|
@ -244,8 +245,8 @@ namespace storm { |
|
|
|
// Rules for parsing a composed expression. |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), Skipper> expression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), Skipper> iteExpression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), Skipper> orExpression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), Skipper> andExpression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), qi::locals<bool>, Skipper> orExpression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), qi::locals<storm::expressions::BinaryBooleanFunctionExpression::OperatorType>, Skipper> andExpression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), Skipper> relativeExpression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), qi::locals<bool>, Skipper> plusExpression; |
|
|
|
qi::rule<Iterator, storm::expressions::Expression(), qi::locals<bool>, Skipper> multiplicationExpression; |
|
|
@ -269,12 +270,15 @@ namespace storm { |
|
|
|
bool addInitialStatesExpression(storm::expressions::Expression initialStatesExpression, GlobalProgramInformation& globalProgramInformation); |
|
|
|
|
|
|
|
storm::expressions::Expression createIteExpression(storm::expressions::Expression e1, storm::expressions::Expression e2, storm::expressions::Expression e3) const; |
|
|
|
storm::expressions::Expression createImpliesExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createOrExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createAndExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createGreaterExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createGreaterOrEqualExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createLessExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createLessOrEqualExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createIffExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createXorExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createEqualsExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createNotEqualsExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|
storm::expressions::Expression createPlusExpression(storm::expressions::Expression e1, storm::expressions::Expression e2) const; |
|
|
|