((TrajectoryEnergyModel) trajectoryEnergy).removeListener(listenerTrajectoryEnergy);
}
break;
case SCAN_K:
ConfigKModel configKModel = (ConfigKModel) config;
configKModel.removeListener(listenerConfigK);
for(ISensor sensor : config.getSensorsList()) {
((SensorModel) sensor).removeListener(listenerSensor);
}
DimensionKModel dimensionKModel = (DimensionKModel) configKModel.getDimensionX();
dimensionKModel.removeListener(listenerDimensionK);
for(IActuator actuator : dimensionKModel.getActuatorsList()) {
((ActuatorModel) actuator).removeListener(listenerActuator);
}
IRangeK rangeK = dimensionKModel.getRangeX();