Joachim Klein
16f63dd580
imported patch rewardcounter-reward-bound-checks.patch
8 years ago
Joachim Klein
3757da3fa0
imported patch rewardcounter-TemporalOperatorBounds-use.patch
8 years ago
Joachim Klein
7345668608
imported patch rewardcounter-TemporalOperatorBound-use.patch
8 years ago
Joachim Klein
57b68f6f9d
Statistical MC: Fix infinite sampling for lower bounded P[F]/P[U]
Only F/U operators with upper bound have a bounded path length and can
thus skip the maximal path length checks.
Test cases (will continue sampling beyond the default max path length,
appearing to hang):
prism prism-examples/dice/dice.pm -pf 'P=?[ F>2 s=0 ]' -sim
prism prism-examples/dice/dice.pm -pf 'P=?[ F>2 s=0 ]' -sim -ctmc
After this fix, the usual error message for unbounded operators is
generated.
8 years ago
Joachim Klein
37fad8894e
SamplerBoundedUntilDisc: tweak handling of absent upper bound
We now explicitly remember if there was an upper bound instead of
relying on an upper bound of Integer.MAX_VALUE in the case of an
absent bound.
Statistical MC, P[F]/P[U] in discrete time setting with time bounds.
8 years ago
Joachim Klein
367a2bd717
Statistical MC: Check bounds for CTMC bounded until
Throw an error if the bounds are negative or upper bound smaller than
lower bound (similar to the checks in the other engines / samplers).
8 years ago
Joachim Klein
2261b32586
SamplerRewardReach: minor cleanup in constructor
Remove unnecessary check on valueKnown in constructor, seems
to be a copy-paste artifact.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11998 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
f518d66c6c
Sampler: fix logic for rejecting co-safety path formulas in reward samplers (fixes previous commit)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11447 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
a325400ba2
Sampler.createSampler: For reward properties, catch the new case of a co-safety path formula properly
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11446 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
48147aa4ad
Improvements to the SamplerDouble class: revised approach to variance estimation for better numerical stability (contributed by Marcin Copik), plus some further tidying/documentation.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11413 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
a76b3c73bd
Remove (most) usage of R_F in temporal operators.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10344 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
caf5a0e50b
Bugfix: statistical model checking of discrete-time bounded untils with strict bounds (from Joachim Klein).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9163 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
8e2bc361cd
Improve simulation Sampler classes to handle deadlocks (in some cases). Deadlocks still not properly handled by the simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9147 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
02c26dbf53
Update simulator to allow path lengths over 2^31.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7785 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
db928a3402
Tweak/move error messages for non-supported R[C] operator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6222 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
0245cf77b4
Bug fix: crash on invalid integer reward struct indices.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5420 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
aca617849b
Some optimisations for approximate model checking on models with deadlocks (could do other operators too).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3876 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
f578bbb893
Approximate model checking ignores "max path length" setting when verifying time-bounded properties.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3855 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
45da0e31ae
Bugfix: exception when checking R[I] properties with simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2950 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
e4d1d0c10c
Bugfix in simulator: Wrong answers for R=?[C<=t] properties on CTMCs.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2778 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
53a5274cb3
Addition of new statistical model checking stuff (patch difference between trunk and prism-statmc branch at this revision).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2391 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
fcf236acd3
Added (self-loop) deterministic loop detection to simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2188 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
bcd6110358
Simulator updates: fixed display of transitions in GUI, added (some) detection of deadlocks/self-loops. (And some tidying.)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2020 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
a0db106a88
Tweaks to Sampler design + non-compilation bugfix.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1889 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
bb2615b43b
Further work on simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1885 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
6dc06b42b7
Fixes and tidies to the simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1879 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
7039eb385c
Further work on simulator, including sampling.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1875 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
4ee4fb211a
Further work on simulator, including sampling.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1874 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago