Tim Quatmann
328b9c6986
Gave the JaniParser a template argument, so that we can use it to parse with doubles or with RationalNumbers.
5 years ago
Matthias Volk
6f62e8d402
Support abort in model building
5 years ago
Matthias Volk
6c095e757a
Fixed problem with Windows linebreak \r\n, because this is still a problem in 2020
5 years ago
Tim Quatmann
18bfe74d8f
api/model_descriptions: Fixed ambiguous method declaration.
5 years ago
Tim Quatmann
d36cd93ae8
CLI: Split parsing and preprocessing of symbolic input into two steps.
Moved engine related methods and declaration to a separate file.
5 years ago
Sebastian Junges
0a6f54f33e
a version of parsing choice labels from DRN
5 years ago
Sebastian Junges
cb2e22e1d3
improved error message if observables includes an unknown error variable
5 years ago
Sebastian Junges
290ede7404
extended the parser to handle observable expressions
5 years ago
TimQu
b1bb7872fd
Parsing integers as long long ints (instead of ints) to fix github issue #60 .
5 years ago
Matthias Volk
bc85e6742e
Fixed parsing of RationalFunctions if no parameters are given
5 years ago
Tim Quatmann
b24d224691
tests: Enabled logging output while running test-cases.
5 years ago
Tim Quatmann
7c535cca84
Fixed upcasting of Exceptions in PrismParser.
5 years ago
Matthias Volk
4ee31063a4
Removed double whitespaces in outputs
5 years ago
Tim Quatmann
78d99328b6
PrismParser: Making module renaming a LocatedInformation so we can properly store the line number of it. Also silenced a warning related to virtual destructors
5 years ago
Tim Quatmann
3db50f570d
PrismProgram: Correctly set line numbers for renamed modules.
5 years ago
TimQu
5f3065ec5a
PrismParser: Check for expression type. Support for formulas in arbitrary order.
5 years ago
TimQu
734cb2d456
PrismParser: Allow Formula assignments in random order.
5 years ago
Tim Quatmann
12ef18a239
PrismParser: Various improvements of error output. Support for using formulas before they were declared.
5 years ago
Matthias Volk
6a77ce210a
Moved setting nofixdl to build settings
5 years ago
Tim Quatmann
555fd90536
Silenced a few warnings.
5 years ago
Matthias Volk
8b77f7f6d6
Added placeholders to DRN format
6 years ago
Matthias Volk
56a206ea5c
Fixed segfaults in reward parsing of DRN
6 years ago
Matthias Volk
cdaea9ea55
Small fix in DRNParser
6 years ago
Tim Quatmann
42b7865e7e
DirectEncodingParser: Added support for Action-based rewards.
6 years ago
Tim Quatmann
429c91ff13
Added support for parsing fractions in DRN files.
6 years ago
Matthias Volk
9e63a89db7
Fixed operator precedence for power and modulo operator thanks to help from Joachim Klein.
6 years ago
Matthias Volk
174c1a86c0
DRNParser: Parse labels with and without quotation marks (thanks to pair programming and regex magic
6 years ago
Matthias Volk
779e5ce5ae
DRNParser: Check if target state is valid
6 years ago
Sebastian Junges
31b50d76e9
clearer error message
6 years ago
Matthias Volk
6a4c18e4a2
Use custom FlatSet to account for allocator changes in flat_set in Boost 1.70.
Boost 1.70 changed the default allocator parameter from new_allocator<T> to void to reduce symbol lenghts.
This reverts the default to the old allocator.
6 years ago
Matthias Volk
1e3686480a
is_equal_to_one() is not used in Boost 1.70
6 years ago
Tim Quatmann
63a9b4485b
FormulaParserGrammar: Adding support for time-bounded formulas with exact time-bound, e.g., F=12 "target"
6 years ago
Tim Quatmann
a829c52a0d
ExpressionParser can now parse round expressions.
6 years ago
Matthias Volk
9398832ce8
Add formula in parse exception for easier debugging
6 years ago
TimQu
e8003769ca
JaniParser: Better error messages for property parsing.
6 years ago
TimQu
e9119154d7
JaniParser: Fixed parsing of globally formulas in JANI. (GitHub issue #42 )
6 years ago
TimQu
0d8ecaff35
JaniParser: Transform reward bounds into time- or step bound if appropriate. Added some checks and warnings.
6 years ago
TimQu
f2fe674656
JaniParser: made the model available when parsing the property.
6 years ago
TimQu
c43e13172f
Jani: Accumulations for Smin/Smax properties.
6 years ago
TimQu
176133f712
Respecting reward accumulations for long-run-average properties.
6 years ago
Tim Quatmann
40f4141b56
Jani: Allowing bounded types for constants as pointed out in GitHub issue #37
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
e3fbb77362
JaniParser::parseFormula: Boolean connections of AtomicExpressionFormulas are now parsed as a single AtomicExpressionFormula (i.e. 'a>1 & b>2' becomes a single atomic proposition instead of having two propositions 'a>1' and 'b>2'). This reduces the number of labels that need to be considered and improves partial state space exploration for formulas such as 'P=? [F a>1 & b>2]'.
6 years ago
Matthias Volk
399c061086
Typos
6 years ago
TimQu
9e282c8bb2
QuantileFormulas: A boost::spiritual abyss.
6 years ago
TimQu
602d18d844
Fixed parsing of edge assignments.
6 years ago
TimQu
bbe9253777
JaniParser: Actually fixed parsing of long run average reward formulas
6 years ago
TimQu
082d624174
Jani: import/export of steady-state properties
6 years ago
TimQu
d9279a72ab
Fixed an issue where jani formulas using conjunctions of boolean transient variables could not be parsed.
6 years ago