public ITrajectory createTrajectory(IActuator actuator) {
ITrajectory trajectory = null;
if (this instanceof IRange1D) {
trajectory = new Trajectory1DModel();
} else if (this instanceof IRange2DX) {
trajectory = new Trajectory2DXModel();
} else if (this instanceof IRange2DY) {
trajectory = new Trajectory2DYModel();
} else if (this instanceof IRangeHCS) {
trajectory = new TrajectoryHCSModel();
} else if (this instanceof IRangeEnergy) {