There was an error while loading. Please reload this page.
1 parent 1749f26 commit dc4c29eCopy full SHA for dc4c29e
1 file changed
prism/src/simulator/SimulatorEngine.java
@@ -302,11 +302,12 @@ public void initialisePath(State initialState) throws PrismException
302
throw new PrismNotSupportedException("Random choice of multiple initial states not yet supported");
303
}
304
305
- // Start model exploration and get initial state reward
306
- computeTransitionsForState(currentState);
+ // Get initial state reward
307
calculateStateRewards(currentState, tmpStateRewards);
308
// Initialise stored path
309
path.initialise(currentState, tmpStateRewards);
+ // Explore initial state in model generator
310
+ computeTransitionsForState(currentState);
311
// Reset and then update samplers for any loaded properties
312
resetSamplers();
313
updateSamplers();
0 commit comments