Dave Parker
9b039439c2
Bug fix in export of simulation path (to a file): file should be closed on completion.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10520 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 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
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
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
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
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
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
087ea5da6a
General tidy up of initial state handling in simulator, including a few GUI bug fixes. GUI default is to use the default initial state. For generation of simulation paths, there is a separate menu item to start from a specified state (and no option to switch asking on/off). Additional tidying and documentation in related parts of code too.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2835 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
53db5959d1
Bugfix: vars option in -simpath was broken in new new simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2767 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 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
da9ca7124c
Small tidy in simpath generation.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2190 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
4a8ea16a6c
Fixes, tidies in simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1963 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
c4a8bd19c4
Simulator code: tidy.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1892 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
c3ba43e358
Further work on simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1883 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
af0fb7cba6
Simulator bug fix (non-compile).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1864 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
6bf2d09394
Updates to simulator, including random choices for CTMCs.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1846 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
d199d035ed
Integration of prism-explicit branch into trunk, i.e. merge of trunk@1015-prism-explicit@1405 into trunk.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1406 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago