Joachim Klein
723c9123c8
mtbdd.PrismMTBDD: JavaDoc for reachability, prob precomputation methods, add sanity checks
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11452 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
338d76503c
jdd.JDD: add sanity checks (SanityJDD framework)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11451 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
803ac5b64c
PrismSettings: add -ddsanity option
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11450 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
f81f447ba3
Add SanityJDD: Framework for performing basic sanity checks on the symbolic MTBDD operations
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11449 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
a7f0aff6e4
JDD: add JDD.IsZeroOneMTBDD() method for checking if an MTBDD is a 0/1-MTBDD
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11448 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 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
Joachim Klein
c70922c329
GUISimulator, path formulae view: For P[ phi ] properties, display only the inner path formula phi
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11445 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
4f165146b1
GUISimulator: reactivate the display of path formulae in the corresponding simulator tab [reported by Steffen Märcker]
Currently, properties that contain an undefined property constant are not displayed.
In the future it might be nice for the user to be asked to specify these constants,
preferably in an unobstrusive way, so that these path formulae can be displayed and
evaluated as well.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11444 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
29b9286be3
Add some missing methods to DTMCFromMDPAndMDStrategy.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11414 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
95c3f7db43
Add a missing method in DTMCFromMDPAndMDStrategy.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11411 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
d309f8c748
Comment fix.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11406 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
2398010959
Small fix in OpRelOpBound toString method.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11403 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
fd6aa0814d
NondetModelChecker.checkRewardCoSafeLTL: We have to intersect the goal states (AcceptanceReach) with model.getReach()
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11398 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
c9f30162c7
JDD: fix typos in comment for JDD.isSingleton
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11397 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
7ee83e31ba
DebugJDD: update (generated) DebugJDD.h with the information about light-weight nodes
This was missing in previous commits.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11396 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
6ca3e63d85
DebugJDD: add test cases for getThen(), getElse() and getValue() calls
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11395 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
eda77943df
DebugJDD: add SuppressWarning("unused") to some of the test cases
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11394 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
238785213a
DebugJDD: Improved handling of JDDNode.getThen(), JDDNode.getElse(); allow copy() on such nodes
When debugging is enabled, wrap the return of getThen() and getElse()
in "light-weight" DebugJDDNodes.
Allow copy() on such light-weight nodes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11393 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
ef2d15c256
JDDNode.getThen() / getElse(): reintroduce sanity check against asking constant nodes for then/else
The check disappeared during refactoring to the ptrToNode functionality
+ minor whitespace
+ copyright
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11392 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
71f2bb389f
DebugJDD: fix variable name typo
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11390 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
3729d85d37
DebugJDD: Improve source formatting
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11389 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
146dbe8ade
DebugJDD: main() to run small test cases
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11384 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
23e61ea93a
DebugJDD: Improve tracing for "Copied from" case
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11381 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
c3ce49be34
DebugJDD: fix Copy() case, directly use JDD.DD_Deref to avoid misleading tracing output
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11380 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
36ca47cfd8
Multi-objective LTL: Improve reference counting handling
Previously, a derefed JDDNode would be used (not necessarily
problematic, as the reference lived on a another node). Fixes a
warning by DebugJDD.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11376 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
45e8894f12
DebugJDD: reset tracking data when CUDD is shutdown
This should provide cleaner results if CUDD is started and
shutdown multiple times in a single VM run (e.g., for nailgun
execution).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11375 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
861883963c
DebugJDD: Improved ref count debugging for JDD, new options
This is an improved version of the DebugJDD functionality,
allowing the debugging of the reference counting for JDDNodes.
DebugJDD now closely tracks the various "events" for a JDDNode, i.e.,
referencing (JDD.Ref), dereferencing (JDD.Deref), returning a pointer
from DD_* methods (JDD.ptrToNode), copying (JDDNode.copy) and using of
a node as a DD_* method argument. This finer-grained tracking allows
to catch some more situations and provide better diagnostics than the
previous version.
Additional command-line options are:
-ddtraceall: Trace all JDDNode IDs
-ddtracefollowcopies: Automatically trace all JDDNode IDs that
result from a copy of a traced node
-dddebugwarnfatal: Treat warnings as errors
-dddebugwarnoff: Turn of warnings
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11374 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
b2e4a120be
JDD: Change scope of DD_Ref and DD_Deref to "package" (to allow calls from DebugJDD)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11373 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
67616712b0
Author list - used for svn-git mirroring.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11369 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
4b1fbe2ba0
CHANGELOG.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11368 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
Dave Parker
1aa8a3eb71
CHANGELOG update.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11364 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
09a9693138
Change location of documentation sources in Makefile.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11358 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
2226e6eb91
Version num 4.3 -> 4.3.1 (keep in sync with minor change to public release).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11357 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
26a73e3248
Fix Cygwin launch scripts to handle paths with spaces in.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11335 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
cd4e8cba19
Fix for Mac launch scripts - find right Java executable to avoid DYLD_LIBRARY_PATH problems.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11329 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
4a9c6cb7a8
Make sure automata package is rebuilt when needed from Makefile.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11320 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
b76fe0e8b1
Add -exportprodvector switch, which exports solution vector over product model after checking LTL-based properties. Currently, supported in explicit engine, or symbolic engines where the result ends up being a vector of doubles (not an MTBDD).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11305 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
73a4ccf44f
SimulatorEngine: fix broken display of updates a path (GUI, regression) [with Linda Leuschner]
When a path is loaded in the simulator view of the GUI, selecting any step
but the last step can produce erroneous display of the update in the
"Manual exploration" field. The problem is that the updates are computed for
display relative to the variables values of the last state of the whole path
instead of relative to the state where the step originates.
This fix keeps the information about the correct state available for computing
the update display. This was a regression, introduced in SVN 10939 and should only
affect the GUI display, not computations.
To reproduce, use e.g.:
dtmc
module one
x: [0..3] init 0;
[] true -> (x' = min(3, x+1));
endmodule
Simulate for a few steps. The update information for the non-last steps of the path will
display incorrect values. This also occurs for display of CTL counterexamples.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11281 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
7ddf026889
APSet: add asList() convenience method
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11276 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
c32cf2c94c
jltl2ba.APSet: source format, tidy up comments
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11275 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
32ffab4e94
jltl2ba.APSet: comments, add Iterable<APElement> elements() method
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11274 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
ae4b8c929e
MDP model checking: allow Büchi acceptance
Büchi automata can currently be input via the external ltl2da translators.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11273 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
204f972abb
LTLModelChecker: add support for EC computations against Büchi acceptance
For symbolic, including support for fairness.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11272 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
32cee09a72
HOAF2DA: Handle Buchi acceptance in HOA automata
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11271 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
85a96b0ee9
HOAF2DA: Handle Streett acceptance in HOA automata
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11270 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
9611929efc
prism/LTLModelChecker: add remark to TODO
For the non-fair case, the restriction is indeed done
by the ECComputer, but for the fair case, the restriction
of candidateStates to states_Li_not is required.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11243 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
1003f690fa
prism/LTLModelChecker: some method comments clean-up (ref, deref)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11242 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago