Joachim Klein
7fc6878dc6
Fix bug in sparse MDP reachability reward interval iteration
Due to a typo, the upper iteration uses `updateValueFromBelow` instead of `updateValueFromAbove`
to update the value vector. When the flag for monotonicity enforcement from above is active (default),
all values are thus forced to be above the upper bound, preventing convergence.
Example:
prism functionality/verify/mdps/reach/mdp_simple.nm functionality/verify/mdps/reach/mdp_simple.nm.props -sparse -intervaliter
+ test case
9 years ago
Joachim Klein
038ed779ff
ExportIterations: Log the file name when exporting iterations (2)
Now for sparse and hybrid as well...
9 years ago
Joachim Klein
a8b8daaf71
PS: cleanup warning message printing
Remove unused argument.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12187 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
2bb7a217f2
PS: cleanup format strings
%ld instead of %d for nnz
%ld for number of iterations / fgw.right (continuous time computations)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12186 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
14ad1d32af
fix compilation issue: cmath / isinf
On newer GCCs, isinf needs to be std::isinf
Switch from math.h include to cmath.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12163 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
c1efd5233b
(interval iteration, symbolic) interval iteration variants for the computation methods of MTBDD, Hybrid and Sparse
Note: PH_NondetReachRewardInterval.cc has not been tested, the standard variant
is not exposed in PRISM currently.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12139 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
7c612640da
PS iteration methods: use MeasureSupNorm. MultiObjective remains todo.
Uses common code that was refactored to Measures.h
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12079 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
3c2a2232e1
(export-iterations) Sparse engine: If enabled, export iterations to HTML file
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12074 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
9850ae3c71
sparse engine: consistently use delete[] when destroying solution vectors
Technically, using 'plain' delete for deleting objects allocated with new[] is
undefined behaviour. In practice, this didn't appear to be a problem.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11786 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
a64997f903
Bugfixes in sparse engine adversary generation (cumulative reward and multi-objective): remove second stat line.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10831 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
ff05caf158
Code tidy.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10815 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
1eb73ab127
Update sparse engine adversary generation to include number of transitions in the tra file.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10092 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
1dc1e484b7
Tidy up JNI wrapper around NDSparseMatrix and push action index storage inside the data structure.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7609 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
7725e3b89c
Add intermittent progress updates to numerical solution (sparse engine).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5263 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
f344411a3c
Fixes in C-code warning message functions.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4180 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Vojtech Forejt
dc6037d047
PrintWarningToMainLog method that gives access to Java printWarning method.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4073 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
52e3d712e7
Added -exportadvmdp switch.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2154 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
967dcef326
Yet another fix for adversary generation: previous fix was only for max (prob or exp reach) so now split into 2 cases for min/max.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1983 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
3e49feef72
Comments
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1981 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
92a23586ec
Fixed adversary generation (definitely broken for (min) rewards, possibly others): change way store adversary indices. Fixes problem of Ashustosh.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1980 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
7b79848f32
Updated (sparse engine) adversary generation for reachability rewards to use new switches, actions, etc.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1877 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
0b5f006108
No crash when adv.tra file cannot be written.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1607 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
4f031e6931
Cody tidy to remove some (C++) compiler errors.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1588 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
d406c932fc
Bug fix in expected reward reachability computations (regarding transitions to infinity states).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1416 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
55c0797a8c
Improvements to memory handling, especially in sparse/hybrid engines:
- better catching of memory-out errors
- improved clarity of memory usage output
- removed various memory leaks
- now consistently use new/delete, no malloc/free
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@899 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
2095d3fbe4
Disabled (prototype) adversary generation.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@833 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
710441242d
Bug fix (CTMC cumulative rewards with rewards on self-loops) (sparse engine).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@829 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
5c7c11c23d
Fixes to allow building under Fedora 9 (GCC 4.3).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@808 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
0f8b464895
C++ code tidy: unused variable removal.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@708 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
2179deefdb
Updated email addresses and affiliations in copyright info.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@547 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
8858363fc7
Sparse version of MDP reach reward computation.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@538 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
d636ab1969
Addition of 64-bit PRISM branch to trunk.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@262 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
5ef3824832
Rearrangement and tidy-up of copyright/license info in file headers.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@253 bbc10eb1-c90d-0410-af57-cb519fbb1720
20 years ago
Dave Parker
e799b672d6
Typo in non-convergence error messages.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@24 bbc10eb1-c90d-0410-af57-cb519fbb1720
21 years ago
Dave Parker
0967807f5b
Improved error handling in model checkers (Java and C++).
Non-covergence of numerical iterative methods is now reported as an error.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@21 bbc10eb1-c90d-0410-af57-cb519fbb1720
21 years ago
Dave Parker
b54050a199
PRISM trunk layout rearrangement.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4 bbc10eb1-c90d-0410-af57-cb519fbb1720
21 years ago
Dave Parker
30e24567d5
Setting trunk version of PRISM to 2.1.dev11.sim8.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2 bbc10eb1-c90d-0410-af57-cb519fbb1720
21 years ago