{
// Ignore
}
if (searcher.ctStateAffected)
{
return new Clp20SimStatelessProgramLauncher(model, leaveCtDirtyRunning);
}
}
} else if (engine instanceof ScenarioSimulationEngine)
{
boolean stateAffected = false;
for (Action a : ((ScenarioSimulationEngine) engine).actions)
{
if (a != null && a.targetSimulator == Action.Simulator.CT)
{
stateAffected = true;
break;
}
}
if (stateAffected)
{
return new Clp20SimStatelessProgramLauncher(model, leaveCtDirtyRunning);
}
}
return new Clp20SimProgramLauncher(model);