|
|
@ -193,6 +193,8 @@ public class Prism extends PrismComponent implements PrismSettingsListener |
|
|
protected String exportProductTransFilename = null; |
|
|
protected String exportProductTransFilename = null; |
|
|
protected boolean exportProductStates = false; |
|
|
protected boolean exportProductStates = false; |
|
|
protected String exportProductStatesFilename = null; |
|
|
protected String exportProductStatesFilename = null; |
|
|
|
|
|
// Store the final results vector after model checking? |
|
|
|
|
|
protected boolean storeVector = false; |
|
|
// Generate/store a strategy during model checking? |
|
|
// Generate/store a strategy during model checking? |
|
|
protected boolean genStrat = false; |
|
|
protected boolean genStrat = false; |
|
|
// Do bisimulation minimisation before model checking? |
|
|
// Do bisimulation minimisation before model checking? |
|
|
@ -588,6 +590,14 @@ public class Prism extends PrismComponent implements PrismSettingsListener |
|
|
exportProductStatesFilename = s; |
|
|
exportProductStatesFilename = s; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Specify whether or not to store the final results vector after model checking. |
|
|
|
|
|
*/ |
|
|
|
|
|
public void setStoreVector(boolean storeVector) |
|
|
|
|
|
{ |
|
|
|
|
|
this.storeVector = storeVector; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Specify whether or not a strategy should be generated during model checking. |
|
|
* Specify whether or not a strategy should be generated during model checking. |
|
|
*/ |
|
|
*/ |
|
|
@ -886,6 +896,14 @@ public class Prism extends PrismComponent implements PrismSettingsListener |
|
|
return exportProductStatesFilename; |
|
|
return exportProductStatesFilename; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Whether or not to store the final results vector after model checking. |
|
|
|
|
|
*/ |
|
|
|
|
|
public boolean getStoreVector() |
|
|
|
|
|
{ |
|
|
|
|
|
return storeVector; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Whether or not a strategy should be generated during model checking. |
|
|
* Whether or not a strategy should be generated during model checking. |
|
|
*/ |
|
|
*/ |
|
|
@ -3461,6 +3479,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener |
|
|
explicit.StateModelChecker mc = explicit.StateModelChecker.createModelChecker(currentModelType, this); |
|
|
explicit.StateModelChecker mc = explicit.StateModelChecker.createModelChecker(currentModelType, this); |
|
|
mc.setModulesFileAndPropertiesFile(currentModulesFile, propertiesFile); |
|
|
mc.setModulesFileAndPropertiesFile(currentModulesFile, propertiesFile); |
|
|
// Pass any additional local settings |
|
|
// Pass any additional local settings |
|
|
|
|
|
mc.setStoreVector(storeVector); |
|
|
mc.setGenStrat(genStrat); |
|
|
mc.setGenStrat(genStrat); |
|
|
mc.setDoBisim(doBisim); |
|
|
mc.setDoBisim(doBisim); |
|
|
|
|
|
|
|
|
|