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
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
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
13 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
13 years ago
Dave Parker
a73b36685b
Add getAllLabels method to ASTElement (not used currently).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7243 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
fe4cd9560c
Allow unbounded integer variables in model (but forbid for symbolic model construction).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6929 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
2573445470
Typo.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6928 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
021b512512
Bugfix: error in recent additions to S operator type checking.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6855 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
e1db928f9f
Bugfix: missing type checking in properties: P/S/R operators were allowed to contain arbitrary types.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6828 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Ernst Moritz Hahn
fd855d0ff4
reintegrated parametric stuff
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6786 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
4d9d778515
Comment tweak
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6221 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
b13aa417ad
Un-needed files (since fairnesss stuff not in this branch, currently).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6213 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
9b5aae301f
Patch in current version of multi-objective model checking (from prism-multi branch). Still need to copy across etc/ directory containing lpsolve libraries. Also contains a few JDD fixes via Christian von Essen.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6211 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
3c44acb8e1
Added new printall filter.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4750 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
a3d99e62d0
Add property reference support to PTA ans approx model checking.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4507 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
b870e550e7
Fixes/renames in property reference search code.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4503 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
be53bceb72
Rename a few visitor classes
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4502 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
fd968a89d1
Check for cyclic dependencies in property references.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4501 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
ac31984b5a
Fix type checking for property references (and some autoformatting - oops).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4500 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
c7365ce0d9
Bugfix: look for undefined constants recursively in referenced properties.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4499 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
c7d1af5f85
More fixes for bugs introduced in recent "improvements" to constant handling API:
- setSomeUndefinedConstants(null) call changed in PropertiesFile
- expandConstants() handles undefined constants cleanly
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4460 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
854cd58edd
Typo in error message (old debugging info).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4250 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Vojtech Forejt
b1e27b40c5
added a missing class for handling named properties in the gui
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4114 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
a066e5db8e
Bugfix in handling of init/deadlock labels during constant processing - e.g. P=?[F "deadlock"&x=i] failed if i was a constant.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4085 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
bf59e25a49
Fixed a bug in getAllUndefinedConstantsRecursively. Showed up when running auto in embedded example. Bug found by Janne Kauttio.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3983 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
10313b7d02
Improved handling of undefined constants in properties files:
* don't need to provide values for all constants, just those required for model checking
And a few related bug fixes:
* in error handling for constants in PrismCL
* in export of labels from properties file with constants
And some small related API changes:
* don't need to call setUndefinedConstants on ModulesFile/PropertiesFile if there are no undefined constants
* more flexible UndefinedConstants classes
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3319 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
2654125531
* Check added to catch if the same variable is set twice in the same update
* New class of semantic checks created that are only done after constant definitions
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3231 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
6289094aa0
Property references can appear in properties (still a few TODOs though).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3186 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
3c8ca8495d
Added iff (<=>) to PRISM model/properties language.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3175 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
8465fdeb07
Property names parsed (but not used) and -test switch added (but no property/verify blocks yet).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3096 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
4ad686212f
Bug fix in ExpandLabels: missing deepCopy (only affects explicit engine currently).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3095 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
ce4b0beb1e
Undoing last commit.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3079 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
bcab165234
Use gcc-3 etc by default when building on Cygwin.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3078 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
71ca9d28af
Final (pre-4.0) fixes to filters: added "state" filter, which gives result for a filter which must satisfy exactly one state, and make this the translation for old-style {state} filter.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2910 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
35f377ab3e
Improved documentation (JavaDoc mostly).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2436 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
07098cca94
Fix: inter-module var access allowed for digitsal clocks.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2421 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
5dcbaab5eb
Header typo: author attrib.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2381 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
76d7039060
Code tidy: stop PrismExceptions on formula expansion (eases debugging) and remove an unused method.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2379 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
da822f4a6b
Code comments.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2378 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
e0aa53801e
Additional checks on where clock variables can appear in models.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2377 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
0ba3191214
Add restrictions on which reward properties supported by digital clocks, and remove complaint about existence of both state/transition rewards.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2248 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
248981743c
Better handling of filters, including ranges returned for multiple initial states.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2240 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
bc834d7d83
Better property checks for PTAs, including new computation of prob operator nesting. Better handling of labels in PTA model checker.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2176 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
f0826d03e0
Bugfix in preproc due to PTA syntax checks.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1925 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
39150596a4
Semantic check for non-local variable access in PTAs.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1893 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
9ce9901d91
Further work on simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1886 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
17b4d063d1
Simulator supports labels
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1880 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
a653cd6239
Removal of debug output.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1871 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
f3e24d7997
ModulesFile bugfix (shows up when using digital clocks).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1869 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago