Sitemap Go Back Wiki Home Go Forward Search Wiki Toggle Dark Mode
Close Navbar

Known Bugs

xSTAMINA has some known bugs not present in the CLI version. First and foremost, it behaves strangely with multiple properties in the same file. This is something we are working to fix, but have not yet found the source of.

XSTAMINA GUI (STAMINA/STORM Only)

The XStamina GUI requires a few more dependencies as opposed to the CLI version of STAMINA/STORM. In addition to the dependencies required for STAMINA/STORM, the following packages are required for XStamina:

sudo apt install libqt5-dev libkf5xmlgui-dev libkf5textwidgets-dev libkf5kio-dev libkf5texteditor-dev qtbase5-dev qtdeclarative5-dev libqt5svg5-dev libkf5i18n-dev libkf5coreaddons-dev extra-cmake-modules
For Arch/Manjaro distributions:
sudo pacman -S kde-sdk-meta
(Click to expand)
×
  1. Toolbar and menubar
  2. Model information tree (only shows information if the model is built)
  3. Model editing window
  4. Quick model information
  5. Tab-bar: gives acces to the model editor, properties editor, results viewer and log window.

Using xSTAMINA

Editing

Model files, in the PRISM language, are edited in the Model Editor tab. An autocomplete is provided which contains PRISM keywords, module and variable names, constants, and other useful model information. This autocomplete is updated when the model is parsed (i.e., the model tree is rebuilt). This can only happen when the model has no syntax errors.

Property files are similarly edited in the Properties Editor tab.

Both editors provide the following syntax highlighting scheme (colors are editable):

A, clock, const, ctmc, C, double, dtmc, E, endinit, endinvariant, endmodule, endobservables, endrewards, endsystem, false, formula, filter, func, F, global, G, init, invariant, I, label, max, mdp, min, module, X, nondeterministic, observable, observables, of, Pmax, Pmin, P, pomdp, popta, probabilistic, prob, pta, rate, rewards, Rmax, Rmin, R, S, stochastic, system, true, U, W

(see https://www.prismmodelchecker.org/manual/ThePRISMLanguage/ModulesAndVariables)

By default, the editor uses tabs, and has a tab width of 4 characters. This, the typeface of the main editor, and the colors used in syntax highlighting can be edited in the General tab of the Edit → Preferences dialog, shown below. Colors and font size and typeface are stored in a preferences file

xSTAMINA Color Scheme Editor (Click to expand)
×

Both the model and properties file can be edited using a find and replace editor, accessible via Ctl+F or Ctl+R for find and replace respectively.

Text find, accessible by Ctl+F (Click to expand)
×
Find and replace, accessible by Ctl+R

(Click to expand)
×

Text size can be changed via Ctl++ and Ctl+-.

Model Checking

Parameters such as κ, rκ, and w can be found in the preferences window. These are not saved in a configuration file and can be changed before each model checking. All properties in the property file can be checked via Ctl+Shift+Return, or the Build Model and Check Properties button on the Model Editor tab.

Keyboard Shortcuts

The following keyboard shortcuts are available in the GUI:

File Shortcuts

Editing Shortcuts

Viewing and Visualization Shortcuts

Other Keyboard Shortcuts