Joachim Klein
1d8f9fc6b9
ODD: Use int64_t for offsets everywhere, check for arithmetic overflow
Before, the ODD offsets (for indexing into the reachable states) were
stored as longs, resulting in inconsistent numbers of (symbolic)
states that can be treated. In particular, on Win64, long is 32bit.
We switch to int64_t for the ODD offsets everywhere, allowing
MTBDD computations for models with >2^31 states.
Additionally, we check for arithmetic overflow in the offset
computations. Due to the symbolic storage for the models and the
state space explosion, it's possible to construct simple model files
that reach the 2^63 states limit.
If this limit is reached, we now throw an error message. In the future
it might be worthwile to ensure that PRISM can deal with the absence
of an ODD for all the computations that don't absolutely require it
and carry on (most MTBDD engine algorithms should be fine).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@12019 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Joachim Klein
123734eeab
Infrastructure for deallocating ODDs
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11467 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 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
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
13 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
4a8285eec7
Utility method in ODDUtils for converting state index to BDD (already existed at C++ level).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4681 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
2e6582c108
Utility method in ODDUtils for finding index of first state in a BDD.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4676 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
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
3f734e76db
Added func in odd to convert index to BDD.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2202 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
17 years ago
Dave Parker
9d151a85f8
Addition of get_index_of_first_from_bdd() function to ODD lib.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1410 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
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
19 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
20 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
20 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