Dave Parker
2690b87ff5
Bug fix in simulator: in DTMCs with local nondeterminism, random transitions can be wrongly chosen due to the distributions not being normalised.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9352 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
11 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
11 years ago
Dave Parker
dfce095d45
Make sure that some PrismFileLogs are close()ed after use - spotted as a bug by Bruno.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8168 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
06e4c5fee1
Move normalisation of DTMC probabilities from SimulatorEngine into Updater class.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7801 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
99d4873c47
Code tidy.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7800 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
d128da069b
Bug fix: simulator was normalising DTMC bu dividing by number of choices (which was inconsistent with symbolic construction when using -noprobchecks).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7797 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
928a44101d
Make simulator.Updater objects extract settings more cleanly. And respect doProbChecks option.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7795 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
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
8ebc511308
Code tweaks: make Updater independent of PRISM/sim + make SimEngine into PrismComponent.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7639 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
1a49d8d30f
svn:ignore on lib.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7549 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Mateusz Ujma
e3f120815f
Changing visibility in Updater
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7278 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
8784323e6e
Some code auto-formatting (for branch purposes).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6865 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
9a658794b1
Additional -help xxx messages.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6833 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Ernst Moritz Hahn
78ed924305
reintegrated fau
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6782 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
8833a6ef1d
Option 'snaphot' for -simpath also displays state/step indices.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6726 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
bca442ee59
In -simpath, specifying the vars=(...) option automatically triggers the changes=true option (to match behaviour in previous versions of PRISM), unless overridden by setting changes=false).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6725 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
ec422e5c90
Bug fix in -simpath: state/step indices were not being displayed correctly when changes=true was set.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6724 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
e8eb82d8ff
Added probs option to -simpath switch allow displaying of transition probabilities/rates (+ addition of this info to underlying path data structures, interfaces, etc.)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6629 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
13 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
13 years ago
Dave Parker
b2f33e44a7
Fixed "changed" setting in graph display of simulation paths.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5482 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
5131fb407f
Some useful code (commented out) for getting variance etc. from simulation results.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5425 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
19b18a0c3f
Bugfix in approximate simulation: property error was causing null ptr.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5419 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
e1e6267210
Move path plot thread to GUI to allow display of warnings/errors.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5412 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
6d502769be
GUI simulation path plot and can show vars and/or rewards.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5400 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
a28c14715c
Simulation path generation handles empty vars=().
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5399 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
6d9806ad16
PathToText respects new "change" option + bugfixes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5397 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
d1e4de5fb3
Make "rewards" option of simpath consistent with others.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5396 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
2a2bdf6220
Fixes in PathDisplayer classes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5395 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
cadd9da282
GUI simulation path plotting handles non-integer variables.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5390 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
1bd8b1c658
Remove un-needed code.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5387 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
d960bf8020
Better handling of errors in simulator calls from GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5386 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
992c0864dc
New/improved simulation path plotting functionality.
For -simpath switch:
* paths are generated on-the-fly for efficiency where possible
* rewards are not displayed by default, use 'rewards' option to show
* new 'snapshot' option to only show states at certain time-points
For GUI simulator:
* basic functionality to plot existing paths or create new plots directly
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5384 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
bdd579d85d
New option in GUI simulator to plot path on a graph (all vars over time).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5360 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
ad132e9f00
Explicit model exploration disallows empty (all zero) distributions. For now.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5302 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
b796a1045c
Undo accidental part of last commit.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5278 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
614554325e
Bug fix in output of path generated from simulation: last 2 times were duplicated.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5277 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
f6d794c22c
Reverse previous commit
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5160 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
d215bf2da0
Update README with new contact/people details.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5159 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
178d3ca90e
SimulatorEngine only builds TransitionList on demand.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4958 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
ead22700e8
New SimulatorEngine/Prism method prism.isPropertyOKForSimulation().
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4741 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
1cb0822a31
Code tidy
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4737 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
ce41611aa2
Enable viewing of witness/counterexample for E[F...] in GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4726 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
01c3826d8d
Less exceptions thrown from ResultCollection error setting methods, with knock-on effect (cleaner code) in various calling sites.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4598 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
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