Dave Parker
|
68960327c1
|
State.setValue returns a copy of the object (for chaining purposes).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10103 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
f19cb029d7
|
Parse modifiers on R and S operators as well as P.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10037 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
7f1315dfc1
|
Do not allow any ExpressionQuant modifiers for now.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10035 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
8475ae29be
|
ExpressionQuant: mode -> modifier.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10034 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
adba5a090c
|
ExpressionQuant: mode -> modifier.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10033 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
1945ef1d40
|
More refactoring of ExpressionQuant and add "mode" field, currently ignored.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10032 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
5c8439c0e6
|
Convert ExpressionQuant from interface to abstract class and push some shared code in ExpressionProb/Reward/SS into it.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10031 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
88928e8b89
|
New PrismNotSupportedException, to be throw when a model/prop/engine combination is not supported. Displays as UNSUPPORTED, not FAIL, in test mode. [from Joachim Klein]
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9998 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
bb6693f43d
|
Allow comments to have no trailing new-line (e.g. when occurring at very end of file) - cannot see a good reason not to allow this.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9851 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
38f0e001c2
|
Bugfix in PrismParser.isKeyword (leading to incorrect identification of bad identifiers in SBML/reactions to PRISM translation).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9733 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
e02281dc86
|
Add Expression.isPathFormula(). [Joachim Klein]
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9599 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
d9ec3199b9
|
Refactoring: Expression.convertSimplePathFormulaToCanonicalForm(), converts to (negated) a U b or X a. Use in model checkers. [Joachim Klein]
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9595 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
4849d6d603
|
Remove check for lower bounds in path formulas for DTMC, MDP. [Joachim Klein]
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9573 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
a9f4c14409
|
Don't allow lower time-bounds for weak until (e.g., for a W[l,u] b or a W>=l b) due to unintuitive semantics. [From Joachim Klein; but moved check to higher up]
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9563 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
1f27c28465
|
Re-factoring in multi-objective model checking.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9481 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
e240865a70
|
Slight refactor of way that reward structures are looked by via ExpressionReward indices.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9462 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
a7a6881638
|
Refactoring of extraction of info from P/R/S operators (in symbolic engines).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9461 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
72c2d1602e
|
Refactoring of extraction of info from P/R/S operators (in explicit engine).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9458 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
a7ebc07de5
|
Copy updated Coalition class from prism-games.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9452 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
3d847fb635
|
Push coalition info into a separate class (including option for * = all players).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9446 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
0bb55587be
|
Allow <<>> to be used for MDPs (explicit engine only).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9444 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
052f0e8861
|
Bug fix in simplification of implication (affects explicit engine) (from Philipp Chrszon).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9374 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
f0db2c26f9
|
Improve handling of constants in parametric model checking - avoid conversion of fractional constants such as 1/3 to doubles and the resulting loss of precision.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9346 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
8cb6a437cd
|
Add strategy operators (<<>> and [[]]) to parser, but no support model checking.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9219 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
a50a15c596
|
Comments.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9204 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
11 years ago |
Dave Parker
|
48c6e73e2a
|
Bugfix: release (R) temporal operator not displayed correctly (from Joachim Klein).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9154 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
5e5461da4a
|
Compile fix (to allow build on Java 6).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9143 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
3c6ca999b0
|
Test mode failure (for wrong result) shows obtained result as well as expected one.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8850 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
bbbe3311d1
|
Add ratio reward objectives to the property parser (copied from prism-frac) but no model checking support yet.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8810 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
31690047fa
|
Refactor extraction of reward struct from index in R.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8806 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
6e415b1403
|
Added Expression.isFunc() tester method.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8797 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
8907515653
|
Parser fix: stop some unnecessary SystemDefn nodes being created in the parse tree.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8789 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
aa11fa528b
|
Fix in RelOp - we cannot tell whether it is numerical without the bound (= could be =? or =1 (in theory at least)).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8626 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
8cc49309b8
|
Change meaning of isLowerBound() in RelOp and fix calls to it accordingly (to address a problem caused elsewhere in prism-games).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8623 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
c924183011
|
Updated to generated parser code (not sure why or when it changed).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8622 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
8611094d95
|
Check for cyclic dependencies in system...endsystem references.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8602 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
3ef803f384
|
Re-factor code to detect cycles in dependencies.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8600 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
45daee70e4
|
Update author info in some recently change classes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8598 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
7fb4426803
|
Models can have multiple system...endsystem constructs, they can be named, and they can be referenced from each other.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8597 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
309cfc0294
|
Code tidy (JavaDoc).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8594 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
07bed0bbe6
|
Bug fix - multiple constants in RESULT spec for testing was not working.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8461 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
7a4b42efde
|
Add an (as yet unimplemented) option to Prism to store the vector of results during model checking.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8396 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
f85400152d
|
Re-factoring - push the creation of default filters during model checking into a utility method in ExpressionFilter.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8394 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
2ef13b46e5
|
Small fix in prism2latex.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7816 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
8291b5984c
|
Refactoring wrt the way that relational operators are stored for P/R/S operators (String -> RelOp).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7766 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
d81ef64ff2
|
Code refactoring (checking for LTL with time bounds).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7731 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
896048bf37
|
Bugfix: allow trivial LTL formulae that are just propositions (accidentally disabled a little while back by previous over-zealous type checking).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7723 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Dave Parker
|
16015890dd
|
Look up of constant value in test RESULT specification should allow imprecision for double values.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7715 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
12 years ago |
Mateusz Ujma
|
f240775686
|
Added removing commad from Module
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7269 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
13 years ago |
Dave Parker
|
f56234d9be
|
Code tidy + comments.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7263 bbc10eb1-c90d-0410-af57-cb519fbb1720
|
13 years ago |