Joachim Klein
a11d7c9797
JDD, prism.StateValues: find max finite value
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12107 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
9883fe5a1d
iv.cc: convert indexing from long to int64_t
Consistently use 64-bit index variables (to match size used for ODD offsets).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12025 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
d4bcc0db94
dv.cc: convert indexing from long to int64_t
Consistently use 64-bit index variables (to match size used for ODD offsets).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12024 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
958adc38ab
IntegerVector: Check that number of states fit into int
If the number of states is too large for the index of the vector to
fit into a Java int throw a PrismNotSupportedException.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12023 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
a7bbeb18ae
DoubleVector: Check that number of states fit into int
If the number of states is too large for the index of the vector to
fit into a Java int throw a PrismNotSupportedException.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12022 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
f1aa7edc01
dv.cc/iv.cc: When converting from an MTBDD, check that we don't write outside of the DoubleVector/IntegerVector
The conversion functions expect that the MTBDD is non-zero only for the reachable states
(as seen by the ODD). If this is not the case due to programmer error, writes outside
the allocated vector can happen and will lead to hard to debug phenomena.
The protection does a hard exit when it detects this problem.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10549 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Joachim Klein
2b07700f5f
StateValues: new method filter(dd, double), sets values not in filter to d
Adapt DoubleVector to make value for filter user-definable.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10516 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Joachim Klein
85ed9b8f17
DoubleVector: Document ref/deref
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10513 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Joachim Klein
379918beea
JDD: Switch to JDDNode ptrToNode(long ptr) as a single point for converting from a DD long pointer to a referenced JDDNode.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10471 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
be12b376dc
Bug fix in double_vector_to_dist (dv.cc) - did not bail out when there are too many distinct values due to overflow of short int counter. [found by Chris Dehnert]
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10055 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 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
a3d757c60e
Comment typo
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7601 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
0e9b9c38e7
Makefile fixes: stop javah-created headers showing as modified in Cygwin svn due to line endings.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7550 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
31e1c6b6c7
Tidy, document and expand Integer/DoubleVector classes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7168 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
2837f71036
First (partial) connection of sparse adversary generation to Strategy classes and -exportstrat.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7119 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
7454f81abe
Update comments
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7118 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
cc15e6c010
Add integer vector storage class to dv package.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@7114 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
ad294aa981
Added dot product method to symbolic StateValue classes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5543 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
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
Dave Parker
ab6d2bbbef
Remove use of -lm linking under Cygwin.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4253 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 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
617137b27d
Fix: Time-bounded probs for CTMC are exactly 1 (no round-off) for target states.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2341 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
62880190eb
Utility methods in double vectors.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1677 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
7e7fb392e8
Fixes and additions for new filters.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1663 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 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
16 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
17 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
52bddb824e
New and improved version of MDP LTL model checking.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@756 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
feacf0c238
First version of explicit expression evaluation stuff (all but functions).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@722 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 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
18 years ago
Dave Parker
db117c74c4
Code tidy: some return types and int/double cast issues.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@480 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 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
19 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
19 years ago
Dave Parker
eaed7b4233
Improved Java detetction in Makefile, including case where directory has a space, e.g. "Progam Files".
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@209 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
6a562a7714
Fixed building of Windows DLL to allow intra-library loading. Moved foxglynn.c/h to prism.c/h.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@123 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
ebc9a32240
Added convenience function for double vector deallocation.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@122 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
20a6be968b
Removal of explicit lists of Java/C++ files from Makefiles (we are reliant on GNU make anyway).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@83 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 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
20 years ago