prismmodelchecker / prism

The main development version of the PRISM model checker.
http://www.prismmodelchecker.org/
GNU General Public License v2.0
157 stars 73 forks source link

Strategy generation: code update + GUI functionality #204

Closed davexparker closed 1 year ago

davexparker commented 1 year ago

Update to strategy handing. Still a work in progress, but this is stable and will be merged with PRISM-games, where strategy functionality is also in progress.

Overhaul and update of key classes to store strategies (more details in e4610cba615af83ee6d2d0700d72470ebee238ef):

prism.Prism now retains a Strategy if generated/returned during model checking, accessible via getStrategy(). There is a new method loadStrategyIntoSimulator() to pass the current strategy to the simulator.

SimulatorEngine has a new mechanism for loading a strategy, as a StrategyGenerator, which it can then optionally enforce and keep track of, e.g., in generated paths (more details in 9a86ecf5a84798c367413dc31f737af7b778b3ad).

GUI support for: