Dave Parker
4ad8e43e9f
Deal with module/model alphabets properly in PTAs, in particular when storing PTAs internally using pta.PTA. The definition of the alphabet of a PTA from a PRISM model is now correct and inline with the defition for other models.
Fixes https://github.com/prismmodelchecker/prism/issues/10
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11770 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
b7093533e5
Optimisation for PTA model checking where the initial state is a target - just return 1.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11571 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
43ffa810db
Catch invalid negative time bounds in PTA model checking.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11570 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
76fd3b5e80
Bug fix for time-bounded probabilistic reachability in PTAs where the initial location is already a target (reported by Joachim Klein, Linda Leuschner).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11569 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
ec0428f084
Update parser files to version 6.0 of JavaCC.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11367 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
c3b802994e
Modules2PTA: fix handling of probabilities in commands that refer to state variables [bug found by Linda Leuschner]
When translating the module state variables to locations, probabilities in
commands were not translated. If the probability expression contains a reference
to the state variables, e.g.,
(s=0 ? 0.5 : 0.75)
then the variable reference persists, which leads to an exception when
updating variable information of the module later on, as the state variable
is no longer defined in the translated module.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11215 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
4c13267ded
Add test methods for special cases in ExpressionLabels.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11028 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
3ae2ee323c
Remove unnecessary adversary generation from PTA backwards reachability.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10310 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
36b792e54b
Add support for backwards reachability algorithm to solve PTAs .
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10134 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
4d80473332
Add error message if attempting to check an LTL formula on a PTA (with digital clocks).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9208 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
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
f56234d9be
Code tidy + comments.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7263 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
e2a0ee3f57
Code tidy.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7262 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
c7ee82d4bc
More classes switched to PrismComponent.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7245 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Mateusz Ujma
7646cbfbd5
Added getDBM to DBMList
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7230 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Mateusz Ujma
8f08ab35d3
Added StateStorage interface
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7215 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
f3dc40fbc5
Code tidy
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7203 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Mateusz Ujma
6f1408812e
Added new constraint methods and size for DBMList
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7197 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
4b3d54bd1c
Convert a few more classes to PrismComponents.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7140 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
3e2efc21e9
New PrismComponent class: refactoring for various model checking components.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7125 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
275e1b8655
Bugfix: c-closure on empty zone breaks when max clock constraint constant is 0.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5582 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
e0d68f8b74
Bug fix: PTA rewards on digital clocks: forgot to scale by GCD.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5523 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
57948820e1
Forward reachability output bug.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4948 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
d3dd8a7ac1
Adapt some classes to use new ProgressDisplay.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4947 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
07bf18a2f4
Fix makefiles with easier setup of classpath using * for jars.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4889 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
fc4fcc4df6
More info on one of the PTA timelock error messages.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4857 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
d48f5c84a2
Digital clocks translation adds an "invariants" label, equal to the conjunction of module invariants.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4725 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
e31a658e9f
Typo
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4713 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
fa2b70f1e6
Better error message for lack of filters in PTA m/c.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4687 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
53a05282fa
Bug fix: PTA model checking using games should complain about not supporting system...endystem.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4526 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
c8c4913a89
Switch remaining warning messages to new PrismLog.printWarning method.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4489 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Vojtech Forejt
e3f6e64e7a
package-info.java is ignored in makefiles
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4380 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Vojtech Forejt
acd646d02c
* PrismLog now has a "printWarning" method that can be used to print warnings.
* In the end of computation PrismCL prints a message if there were some warnings.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4069 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
91fc16e4f9
Bug fix in PTA model checking (digital clocks): GCD of {0} is 1.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3520 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
ebf163a14e
Code doc: Added some useful references to DBM classes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3348 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
8bbda8f530
Added new expression evaluation methods (needed for explicit model checker). Unfortunately breaks some existing calls to evaluate(constVals, null) due to ambiguities. Need to replace them with evaluate(constVals).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3254 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
52d2d21447
Update to newest version of explicit code (from prism-qar) plus -explicit switch for command-line and MDP solution settings.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3047 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
c3bf60b341
Added some error checks on probabilities in PTAs.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2931 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
33c6025033
PTA fix: disallowing diagonal clock constraints for digital clocks engine (for; until we can find a fix).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2780 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
fb4d7e4fbb
Code tidy (and classrename) in QAR.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2417 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
c921d83884
PTA fix: clear memory after memout crash.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2388 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
f2c00dff12
Better "badly-formed" error message during PTA forwards reachability.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2384 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
ecf0d8b082
Updated all parser files to new JavaCC (version 5.0) and removed getShortMessage() addition to ParseException.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2367 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
db60e6487b
Javadoc fixes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2260 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
fa8a5b7b06
Bug fix: time-bounded PTA properties (from Nico).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2253 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago