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
11 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
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
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
16 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
17 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
17 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
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
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
19 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
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
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
20 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
20 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
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
21 years ago
Dave Parker
30e24567d5
Setting trunk version of PRISM to 2.1.dev11.sim8.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2 bbc10eb1-c90d-0410-af57-cb519fbb1720
21 years ago