@Override
	public double[] evaluate() {
		double distance = Double.MIN_NORMAL;
		for(int i = lag; i < t.size(); i++){
			double d = t.get(i-lag).distance(t.get(i)); 
			if(d> distance){
				distance = d;
			}
		}
		result = new double[]{distance};
		return result;
	}
@ Override public double [ ] evaluate ( ) { double distance = Double . MIN_NORMAL ; for ( int i = lag ; i < t . size ( ) ; i ++ ) { double d = t . get ( i - lag ) . distance ( t . get ( i ) ) ; if ( d > distance ) { distance = d ; } } result = new double [ ] { distance } ; return result ; }
@return An double array with the elements [0] = max distance