}
}
}
} else if (config instanceof IConfigEnergy) {
IConfigEnergy configEnergy = (IConfigEnergy) config;
IDimensionEnergy dimensionEnergy = configEnergy.getDimensionX();
List<IActuator> listActuatorEnergy = dimensionEnergy.getActuatorsList();
List<IRangeEnergy> rangeEnergy = dimensionEnergy.getRangesEnergyList();
for (int i = 0; i < rangeEnergy.size(); i++) {
List<ITrajectory> listTrajectories = rangeEnergy.get(i).getTrajectoriesList();