@@ -0,0 +1,1152 @@
+package de.biomedical_imaging.traJ.features;%0A%0Aimport de.biomedical_imaging.traJ.Trajectory;%0Aimport de.biomedical_imaging.traJ.DiffusionCoefficientEstimator.RegressionDiffusionCoefficientEstimator;%0A%0Apublic class BoundednessFeature extends AbstractTrajectoryFeature %7B%0A%0A%09private Trajectory t;%0A%09private double timelag;%0A%09%0A%09public BoundednessFeature(Trajectory t, double timelag) %7B%0A%09%09this.t = t;%0A%09%09this.timelag = timelag;%0A%09%7D%0A%09%0A%09@Override%0A%09public double%5B%5D evaluate() %7B%0A%09%09MaxDistanceBetweenTwoPositionsFeature dtwop = new MaxDistanceBetweenTwoPositionsFeature(t);%0A%09%09RegressionDiffusionCoefficientEstimator dcEst = new RegressionDiffusionCoefficientEstimator(t, 1/timelag, 1, 2);%0A%09%09%0A%09%09double D = dcEst.evaluate()%5B0%5D;%0A%09%09double r = dtwop.evaluate()%5B0%5D/2;%0A%09%09double cov_area = a(t.size())*D*timelag;%0A%09%09double res = cov_area/(4*r*r);%0A%09%09result = new double%5B%5D%7Bres%7D;%0A%09%09return result;%0A%09%7D%0A%09%0A%09public static double a(int length)%7B%0A%09%09return -79.751+4.051*length;%0A%09%7D%0A%0A%09@Override%0A%09public String getName() %7B%0A%09%09return %22Boundedness%22;%0A%09%7D%0A%0A%09@Override%0A%09public String getShortName() %7B%0A%09%09return %22BOUND%22;%0A%09%7D%0A%0A%09@Override%0A%09public void setTrajectory(Trajectory t) %7B%0A%09%09this.t = t;%0A%09%09%0A%09%7D%0A%0A%7D%0A

Add feature boundedness