Dave Parker
16a9e6fc1b
Remove old code (userinterface/OptionsPanel).
6 years ago
Dave Parker
f97cd22744
Add extra property parsing methods to Prism that use the currently loaded model.
A model is needed for context (i.e., for access to variables, constants, labels, etc.).
Previous methods required the user to pass in a ModelInfo object for this purpose.
These new methods should now be preferred to the old ones.
Calls have been replaced where possible, including a slight reorder of parsing/loading in PrismCL.
In the GUI, the parsed model is cached locally in various places but should always
be the same as the one currently loaded into PRISM.
This is part of an ongoing effort to reduce the extent to which code is
tied to the PRISM language (i.e., ModulesFile) specifically.,
and to push make the Prism object more generally useful as an API.
7 years ago
Dave Parker
447d4732be
GUI: Tooltip hints for creating new properties/constant/labels.
8 years ago
Dave Parker
c0c8e686b8
GUI: Switch to Properties tab on creation of new properties file.
8 years ago
Joachim Klein
88a10b763d
GUI: In properties tab, support double-click for adding constants, labels
Similar to the behaviour in the properties list, if we double-click
inside the constant or label table but not on an existing entry, we
add a new contant/label line in the table.
8 years ago
Joachim Klein
6c0294923e
Use exact evaluation of constant expressions in exact and parametric mode
Using the infrastructure from the previous commit, we request exact evaluation
of constants in exact and parametric model checking mode.
Additionally, note where we deliberately choose non-exact evaluation mode.
Add corresponding test cases.
9 years ago
Joachim Klein
0cf8c8cbe0
GUI: Tweak double-click handling in property list
Now, double-clicking on a property will open the editor
for that property. Double-clicking on an empty area of the
property list will open the "new property" editor.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11109 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
91d83d245b
Tidying GUI code.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10408 bbc10eb1-c90d-0410-af57-cb519fbb1720
11 years ago
Dave Parker
acc8a65b4f
Some preliminary code to add parametric model checking to GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@9386 bbc10eb1-c90d-0410-af57-cb519fbb1720
12 years ago
Dave Parker
4d79945749
Export labels option for model/prop menus in GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6733 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Vojtech Forejt
8aac321f5e
Pareto points in GUI must be added in the right order to be shown
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6259 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
4eba6c48f3
Code tidy
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6223 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
9b5aae301f
Patch in current version of multi-objective model checking (from prism-multi branch). Still need to copy across etc/ directory containing lpsolve libraries. Also contains a few JDD fixes via Christian von Essen.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6211 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
1ea340dbd2
Author/copyright info.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@6024 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Mateusz Ujma
ba03cc9671
Added comment
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5567 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
9565022214
Fix: properties files passed to GUI forgotten about in case of model parse error.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5566 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Mateusz Ujma
e48a274c55
Added loading properties from command line when using GUI
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5565 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Mateusz Ujma
2983cde5b2
Changed JLabel to JTextField to be able to copy&paste current model/properties file name.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5547 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Dave Parker
bdd579d85d
New option in GUI simulator to plot path on a graph (all vars over time).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@5360 bbc10eb1-c90d-0410-af57-cb519fbb1720
14 years ago
Vojtech Forejt
e8b3a05a27
fixes ticket #10
when constants changed, they were not re-validated
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4796 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Vojtech Forejt
d4d4108886
fixes ticket #5
For some reason the code handling named properties in "new experiment" was different from "verify" and "simulate". I aligned it with those two and now it works.
But maybe there was some reason why there was the difference, hence I am leaving this commit message here for future generations :-)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4778 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
ead22700e8
New SimulatorEngine/Prism method prism.isPropertyOKForSimulation().
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4741 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
ce41611aa2
Enable viewing of witness/counterexample for E[F...] in GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4726 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
20150621ce
Code tidy
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4590 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
5dc9ab190a
Change to modelCheck() call in API: don't pass constants, just get from PropertiesFile.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4582 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
a218d09b2b
* Continued major changes to PRISM API
- keeps track of model, builds when needed
- takes care of explicit engine stuff too
* Changes to deadlock handling:
- new option for "fix deadlocks" (defaults to *true*) (and new switch -fixdl)
- consistent deadlock handling everywhere, incl. GUI and experiments
- changes to model-level deadlock storage (symbolic and explicit)
* Explicit engine added as true engine, also available from GUI
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4562 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
06ecdf6139
Copyright header updates
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4504 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
4fc61415fb
Display notification of warnings after computations in GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4497 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
51807e044e
Add -pf as a command-line switch alias for -pctl/-csl and add .props as a properties file extension (in GUI).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4495 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
fd85a16363
Move GUI warning counter reset so it catches model build warnings too.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4185 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
1f4461da64
Ctrl -> Cmd in GUI on Macs.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4176 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
23bee5f9b9
Support for CSV file result export from GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4139 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Dave Parker
8ba7caed26
Added export results to matrix functionality (-exportresultsmatrix from CL, experiment popup menu from GUI).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4136 bbc10eb1-c90d-0410-af57-cb519fbb1720
15 years ago
Vojtech Forejt
786849d523
First version of support for named properties in GUI.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@4110 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
53a5274cb3
Addition of new statistical model checking stuff (patch difference between trunk and prism-statmc branch at this revision).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2391 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
9c599f2460
GUI offers graph creation for interval props (even if it will not yet display them properly).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2283 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
e9545cac7c
Added option to verify PTAs in GUI (no experiments yet).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2191 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
fca4ce844e
Code tidy (GUI).
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2007 bbc10eb1-c90d-0410-af57-cb519fbb1720
16 years ago
Dave Parker
763285cc4c
More simulator additions/tidying.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1891 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Dave Parker
4629fa462a
Bugfix: GUI does not offer graphs for integer-values properties.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1582 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 years ago
Mark Kattenbelt
5853d638c0
bugfix copy/paste
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1540 bbc10eb1-c90d-0410-af57-cb519fbb1720
17 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
Mark Kattenbelt
ff7b9744c5
made Java 5 compatible (removed annotations)
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1052 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Mark Kattenbelt
6fdb6937e0
isValid bug
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@935 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Mark Kattenbelt
ecc854535a
improved handling of undo/redo/clipboard events
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@820 bbc10eb1-c90d-0410-af57-cb519fbb1720
18 years ago
Dave Parker
4a81939bf1
GUI bug fix: tidy closing of Property Details windows.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@786 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
38a8c28958
Text fix.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@773 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 years ago
Dave Parker
69b62449fd
New class to encapsulate results from PRISM engine.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@693 bbc10eb1-c90d-0410-af57-cb519fbb1720
19 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
19 years ago