Browse Source

Simulator disabled for PTAs.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@2200 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 15 years ago
parent
commit
b6d4a15737
  1. 5
      prism/src/simulator/SimulatorEngine.java

5
prism/src/simulator/SimulatorEngine.java

@ -582,6 +582,11 @@ public class SimulatorEngine
modelType = modulesFile.getModelType();
this.mfConstants = modulesFile.getConstantValues();
// Check for PTAs
if (modulesFile.getModelType() == ModelType.PTA) {
throw new PrismException("Sorry - the simulator does not currently support PTAs");
}
// Check for presence of system...endsystem
if (modulesFile.getSystemDefn() != null) {
throw new PrismException("Sorry - the simulator does not currently handle the system...endsystem construct");

Loading…
Cancel
Save