Browse Source

Parametric model checking error message.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10209 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 11 years ago
parent
commit
69d0e44ed4
  1. 20
      prism/src/param/ParamModelChecker.java

20
prism/src/param/ParamModelChecker.java

@ -923,29 +923,19 @@ final public class ParamModelChecker extends PrismComponent
private RegionValues checkProbBoundedUntil(ParamModel model, RegionValues b1, RegionValues b2, boolean min) throws PrismException { private RegionValues checkProbBoundedUntil(ParamModel model, RegionValues b1, RegionValues b2, boolean min) throws PrismException {
ModelType modelType = model.getModelType(); ModelType modelType = model.getModelType();
RegionValues probs;
//RegionValues probs;
switch (modelType) { switch (modelType) {
case CTMC: case CTMC:
throw new PrismNotSupportedException("bounded until not implemented for parametric CTMCs");
throw new PrismNotSupportedException("Bounded until operator not supported by parametric engine");
case DTMC: case DTMC:
probs = checkProbBoundedUntilDTMC(model, b1, b2);
break;
throw new PrismNotSupportedException("Bounded until operator not supported by parametric engine");
case MDP: case MDP:
probs = checkProbBoundedUntilMDP(model, b1, b2, min);
break;
throw new PrismNotSupportedException("Bounded until operator not supported by parametric engine");
default: default:
throw new PrismNotSupportedException("Cannot model check for a " + modelType); throw new PrismNotSupportedException("Cannot model check for a " + modelType);
} }
return probs;
}
private RegionValues checkProbBoundedUntilMDP(ParamModel model, RegionValues b1, RegionValues b2, boolean min) {
throw new UnsupportedOperationException("Bounded until is not supported at the moment");
}
private RegionValues checkProbBoundedUntilDTMC(ParamModel model, RegionValues b1, RegionValues b2) {
throw new UnsupportedOperationException("Bounded until is not supported at the moment");
//return probs;
} }
/** /**

Loading…
Cancel
Save