Browse Source

explicit -steadystate: take initial distribution into account

Previously, the distribution specified via -importinitdist was ignored (for -explicit -ss).
master
Joachim Klein 8 years ago
parent
commit
99b66c8220
  1. 3
      prism/src/prism/Prism.java

3
prism/src/prism/Prism.java

@ -3404,8 +3404,7 @@ public class Prism extends PrismComponent implements PrismSettingsListener
explicit.StateValues probs; explicit.StateValues probs;
if (model.getModelType() == ModelType.DTMC) { if (model.getModelType() == ModelType.DTMC) {
mcDTMC = new DTMCModelChecker(this); mcDTMC = new DTMCModelChecker(this);
//TODO: probs = mcDTMC.doSteadyState((DTMC) model, fileIn);
probs = mcDTMC.doSteadyState((DTMC) model, (File) null);
probs = mcDTMC.doSteadyState((DTMC) model, fileIn);
} else if (model.getModelType() == ModelType.CTMC) { } else if (model.getModelType() == ModelType.CTMC) {
throw new PrismException("Not implemented yet"); throw new PrismException("Not implemented yet");
} else { } else {

Loading…
Cancel
Save