Tim Quatmann
4cf2fd7d61
Heavily refactored FormulaParser as it had become quite messy.
LTL-Operator precedence should now correctly mimic the behavior of PRISM.
4 years ago
Joachim Klein
5482a32b8a
(LTL) Refactor unary/boolean state formulas to allow path formulas as well
Previously, the formula parser only supported AND, OR and NOT over state formulas.
For LTL, we need those over path formulas.
We tweak the grammar, the AST types and visitors, to also handle
UnaryBooleanPathFormula and BinaryBooleanPathformula. During parsing,
we determine on-demand whether to generate the path or state formula
variant by looking at the subformulas - if they are state formulas,
the boolean operator will be a state formula as well.
Conflicts:
src/storm-parsers/parser/FormulaParserGrammar.cpp
src/storm-parsers/parser/FormulaParserGrammar.h
src/storm/logic/CloneVisitor.cpp
src/storm/logic/Formula.cpp
src/storm/logic/Formula.h
src/storm/logic/FragmentChecker.cpp
src/storm/logic/FragmentSpecification.cpp
src/storm/logic/FragmentSpecification.h
src/storm/logic/LiftableTransitionRewardsVisitor.cpp
src/storm/storage/jani/JSONExporter.cpp
5 years ago
Joachim Klein
ba907a1d75
WIP (HOA-path) FormulaParser: parse HOAPathFormula
Note: Syntax of HOA path formulas will change!
Conflicts:
src/storm-parsers/parser/FormulaParserGrammar.cpp
src/storm-parsers/parser/FormulaParserGrammar.h
5 years ago
Stefan Pranger
9b6afac4d7
renamed factors for shielding to probabilities
4 years ago
Stefan Pranger
f9d2df0b0a
move ConstantDataType and added ostream
4 years ago
Stefan Pranger
0479b58472
added names and optimal shield to parsing
4 years ago
Stefan Pranger
d9db7d57b3
parsing ShieldExpression into shared_ptr
4 years ago
Stefan Pranger
fa47742a14
added checks for multiplicative factor parsing
4 years ago
Stefan Pranger
f6b341168d
added formula parser grammar for shields
4 years ago
Lukas Posch
66f893edcb
changed globally formula grammar and added the case for bounded globally formulas for createGloballyFormula
4 years ago
Stefan Pranger
07d7ca9189
WIP added grammar rules for gameFormula
Does not compile at this stage! This commit will be squashed asap.
4 years ago
Tim Quatmann
4affb76bb1
Renamed Coalition to more descriptive PlayerCoalition
4 years ago
Tim Quatmann
735874462c
Polished fragment specification and formula visitors for new GameFormulas
4 years ago
Stefan Pranger
8d47ad2bd7
refactor Coalition to use boost variant
4 years ago
Stefan Pranger
487eb13a24
WIP added grammar rules for gameFormula
Does not compile at this stage! This commit will be squashed asap.
4 years ago
Stefan Pranger
a9868fd501
refactor Coalition to use boost variant
4 years ago
Stefan Pranger
f106b83328
WIP added grammar rules for gameFormula
Does not compile at this stage! This commit will be squashed asap.
4 years ago
Tim Quatmann
555fd90536
Silenced a few warnings.
6 years ago
Tim Quatmann
971f4c8508
Quantiles: Fixed analysing epochs unnecessarily, fixed having multiple quantile formulas over the same variables.
6 years ago
Tim Quatmann
8a72aee764
QuantileFormulas: ignore optimization direction (min/max) for quantile variables.
6 years ago
TimQu
9e282c8bb2
QuantileFormulas: A boost::spiritual abyss.
6 years ago
dehnert
6ab7859c84
fixing more of Lindas issues
7 years ago
dehnert
c3d40d634b
started working on the github issues by Linda
7 years ago
sjunges
79bb6734ed
compile and link parsers in seperate binary
7 years ago
TimQu
ccf7521250
Multi-dimensional cumulative reward formulas
8 years ago
TimQu
9e2dcca5ee
extended/improved parsing reward bounded formulas to be compatible with the prism syntax
8 years ago
TimQu
23686a0f09
reward bounded cumulative reward formulas + fixes for dimensions that do not need memory
8 years ago
TimQu
630acb7459
parsing of until formulas with multiple bounds
8 years ago
TimQu
8b466f1fa7
extended multidimensional bounded until formulas to have different subformulas in each dimension
8 years ago
Sebastian Junges
6a46d0abd5
formula parser extended with reward bounded rewards
8 years ago
Sebastian Junges
9af46452bc
first attempt for a parser
8 years ago
dehnert
3ffaa77193
first version of state filters in filter expressions
8 years ago
dehnert
6b931497a2
added filters to parsers
8 years ago
dehnert
7b0b6fa333
fixed a formula parsing bug, corrected some result printing
8 years ago
dehnert
16a06d9f03
formula parser now directly emits properties with names; name filtering of properties from cli
8 years ago
dehnert
b4381a7c48
Constants in formulas appear to be working
8 years ago
dehnert
cb8b537baa
made storm compile again with expressions in time-bounds of until formula
8 years ago
dehnert
8d3f633cbc
started working on allowing expressions in time-bounds of formulas
8 years ago
Sebastian Junges
d246517757
removed src prefix in all includes
9 years ago
Sebastian Junges
e1d201c85e
c++ code compiles again after rename
9 years ago
Sebastian Junges
3a7ee7867b
rename files (does not compile)
9 years ago
sjunges
5cc1a86f10
No - I won't wait for those parsers no more. Part one of some compiliation speed up stuff.
Former-commit-id: 20f6996581
[formerly 680bcd1cbb
]
Former-commit-id: 2c60f08dd3
9 years ago