Joachim Klein
9294070eb1
Values, getXYValue(): support for BigRational
8 years ago
Joachim Klein
4d1ddc008f
refactor: TypeDouble expressions may evaluate to BigRational, add proper casts
This allows storage of BigRational values in StateValues / Values vectors, e.g.,
to store constants that have been evaluated exactly.
TypeDouble.castValueTo now returns a Number instead of a Double, requiring the use
of the doubleValue() method in several places where the value is evaluated using
double arithmetic.
8 years ago
Steffen Märcker
e038badd12
Rewrite Values#clone for readability and efficiency
8 years ago
Joachim Klein
3b4cb29c2c
parser.Values: use PrismUtils.formatDouble for double formatting
Fixes issue #1 .
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11760 bbc10eb1-c90d-0410-af57-cb519fbb1720
9 years ago
Dave Parker
e2074832df
Switch from ModuleFile to ModelInfo in Values object.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11089 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
a42e4108ee
More locale setting for outputting decimals in English.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10233 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
1d6d52f9a7
Export results in "comment" mode now also shows values of non-ranging contants.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10176 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
a298807d5d
Additional toString in Values class.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10152 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
f1bac71e5d
Improved doc for Values class + new toStringConcatenated method.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3284 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
c28f11a31d
Further improvements to the simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1860 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
Dave Parker
5d3d24bc17
Merged prism-parser branch (revs 577:659) into trunk.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@660 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
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
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
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
20 years ago