Stefan Pranger
f9d2df0b0a
move ConstantDataType and added ostream
4 years ago
Lukas Posch
5e040553a6
changed error message
4 years ago
Lukas Posch
0ea549864f
fixed assert for using lowerBounds
4 years ago
Lukas Posch
02bc7f3f69
added assert for using lowerBounds
4 years ago
Lukas Posch
66f893edcb
changed globally formula grammar and added the case for bounded globally formulas for createGloballyFormula
4 years ago
Lukas Posch
023e067c59
added bounded globally formulas to other classes
4 years ago
Stefan Pranger
8b74f49806
fixup after merging PRs
4 years ago
Stefan Pranger
fae507c902
removed residual loc from rebase
4 years ago
Stefan Pranger
40f5fc04a9
rpatl smg formulas now accept operatorFormulas
4 years ago
Stefan Pranger
f9368be970
refactor Coalition to use boost variant
4 years ago
Stefan Pranger
de38996b4e
add assertion for module indices in second
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
c2fc1218b7
JaniParser: Make warning disappear when assigning an int expression to a real-valued function.
4 years ago
Tim Quatmann
9b05861324
JaniParser: Fixed a syntax check.
4 years ago
Stefan Pranger
e63faa485f
changed format of player parsing exceptions
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
6c97e9dc29
rpatl smg formulas now accept operatorFormulas
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
Tim Quatmann
97b2d751e0
* prism::Player's no longer keep track of module and action indices to reduce redundancies.
* PrismProgram::CheckValidity and PrismProgram::simplify now treat SMGs properly
* PrismProgram is now responsible for moduleIndex->playerIndex and actionIndex->playerIndex assignment
* More defined behavior for actions that don't have a player (work in progress)
4 years ago
Tim Quatmann
6fe76a009d
Polished parsing of Prism-SMGs, in particular
* Fixed issues related to module renaming that resulted from setting the module indices already in the first run
* Fixed a few uint_fast32_t vs uint_fast64_t issues, created alias PlayerIndex
4 years ago
Stefan Pranger
81db530f70
do not clear moduleToIndexMap for second run
5 years ago
Stefan Pranger
4c7968b4cf
added and finalized NondetGamehelper methods
This still needs some better documentation for the introduced class
methods.
Also removed some debug printing.
4 years ago
Tim Quatmann
75b6ac27e8
JaniParser: Making result field optional ( fixes #83 )
4 years ago
Tim Quatmann
3184ba1611
Jani: Correctly parse the input-enable field. Throw an error in the sparse model builder, as these are not supported right now.
4 years ago
Tim Quatmann
41ae9d5624
Fixed silently truncating bits when parsing integer literal expressions (see https://github.com/moves-rwth/stormpy/issues/20 )
4 years ago
Stefan Pranger
6cea196953
rpatl smg formulas now accept operatorFormulas
4 years ago
Tim Quatmann
1243feba8c
Substitute constants in JANI Properties ( fixes #95 )
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
Stefan Pranger
9bf2a572a7
check if state is controlled by multiple players
We do this by storing a list of modules/commands which have already been claimed by one player
5 years ago
Stefan Pranger
1cf2e544ac
add assertion for module indices in second
5 years ago
Stefan Pranger
de301323d6
check module and action names when parsing players
Note: This does currently not work as intended as the moduleToIndexMap
gets clear when moving to the second run!
5 years ago
Stefan Pranger
11f7464372
players now get stored in PRISM programs
5 years ago
Stefan Pranger
48276e47a9
further work on player parsing
we do now correctly store command and modules names passed within a player
construct
5 years ago
Stefan Pranger
3f3b154ce0
first progress on player parsing
WIP. This does currently not compile, having troubles with the parsing
of command and module names into their resp. vectors.
5 years ago
Stefan Pranger
55f4efd40a
added SMG ModelType
5 years ago
Stefan Pranger
d35e9a6a40
removed plenty of empty line whitespaces
5 years ago
Matthias Volk
c12c0352f7
Support for parsing jani model from string
4 years ago
Tim Quatmann
260c14a3f6
ExpressionParser: Allow sequences of unary operators, like '!!x=0' ( fixes #89 )
4 years ago
Stefan Pranger
584fbf23c1
add assertion for module indices in second
5 years ago
Stefan Pranger
e0a71f331c
do not clear moduleToIndexMap for second run
5 years ago
Sebastian Junges
d6bfcb4818
refactoring: moving some code out of the util folder
5 years ago
Sebastian Junges
0eec9e56da
better error message when a colon cannot be found in the drn file
5 years ago
Sebastian Junges
65fab09931
comments in the model are now also allowed
5 years ago
Matthias Volk
a61ea32aea
Fixed some GCC warnings
5 years ago
Tim Quatmann
1dccab9673
JaniParser: Added missing template instantiation and other fixes.
5 years ago
Tim Quatmann
0433469b9e
Added missing template instantiation.
5 years ago
Tim Quatmann
7b32aa968e
Fixed actually using the JaniParser with rational numbers.
5 years ago