Dave Parker
9ce7e6441b
Push containsUnboundedVariables methof from VarList up into ModulesFile.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10970 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
17087eee26
Decompose semantics checks (into expressions, models, properties). This will facilitate later attempts to make model checking less tied to ModulesFile specifically, rather than other model sources.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10963 bbc10eb1-c90d-0410-af57-cb519fbb1720
10 years ago
Dave Parker
f0db2c26f9
Improve handling of constants in parametric model checking - avoid conversion of fractional constants such as 1/3 to doubles and the resulting loss of precision.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9346 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
5e5461da4a
Compile fix (to allow build on Java 6).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9143 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
8611094d95
Check for cyclic dependencies in system...endsystem references.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8602 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
45daee70e4
Update author info in some recently change classes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8598 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
7fb4426803
Models can have multiple system...endsystem constructs, they can be named, and they can be referenced from each other.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@8597 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Ernst Moritz Hahn
fd855d0ff4
reintegrated parametric stuff
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6786 bbc10eb1-c90d-0410-af57-cb519fbb1720
13 years ago
Dave Parker
be53bceb72
Rename a few visitor classes
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4502 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
c7d1af5f85
More fixes for bugs introduced in recent "improvements" to constant handling API:
- setSomeUndefinedConstants(null) call changed in PropertiesFile
- expandConstants() handles undefined constants cleanly
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4460 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
95d7e89a57
Bugfix: previous "improvement" to API wrt undefined constants broke some models, e.g. when trying to evaluate pow/floor etc. with wrong number of arguments.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4249 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
3e8f246006
Typos in javadoc comments.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3550 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
3723afae6c
New isDefinedConstant methods (+ code tidy).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3437 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
d4ce4fa73c
Code doc
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3380 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
10313b7d02
Improved handling of undefined constants in properties files:
* don't need to provide values for all constants, just those required for model checking
And a few related bug fixes:
* in error handling for constants in PrismCL
* in export of labels from properties file with constants
And some small related API changes:
* don't need to call setUndefinedConstants on ModulesFile/PropertiesFile if there are no undefined constants
* more flexible UndefinedConstants classes
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3319 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
26130c8d38
Correct types for initial state of ModulesFile (only a problem when there are clocks).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3298 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
8bbda8f530
Added new expression evaluation methods (needed for explicit model checker). Unfortunately breaks some existing calls to evaluate(constVals, null) due to ambiguities. Need to replace them with evaluate(constVals).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3254 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
2654125531
* Check added to catch if the same variable is set twice in the same update
* New class of semantic checks created that are only done after constant definitions
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3231 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
d0d92d3dc9
Code documentation.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3230 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
a126367821
Simulator engine: Documentation of Choice object, remove some unused Choice methods, add some action-querying methods in SimulatorEngine.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3212 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
6289094aa0
Property references can appear in properties (still a few TODOs though).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3186 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
d6bc7b263d
ModulesFile: getRewardStructByName method + cmment tidies.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3041 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
16781169f7
PTA fix: labels/rewards in models do not cause crashes.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2068 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
9ce9901d91
Further work on simulator.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1886 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
f3e24d7997
ModulesFile bugfix (shows up when using digital clocks).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1869 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
6b11bf53c4
ModulesFile bugfix (shows up when using digital clocks).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1868 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 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
69308dacd5
Storage of base module in renamed module AST element.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1114 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
2ccc376f11
More improvements to module renaming error reporting.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@908 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
fdc9b7d760
Improvements to module renaming error reporting.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@906 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
2e4014c005
Added error checking for var ranges that are too big.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@798 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 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