@Override
public double calcObjective(Configuration configuration,
Map<String, BaseVariable<?>> response) {
LongTrajectoryVariable trajectoryVar =
(LongTrajectoryVariable) response.get(paramName);
LongTrajectory trajectory = trajectoryVar.getValue();
long[] data = trajectory.getData(); // new length - old length
double[] times = trajectory.getTimes();
// objective