Class NoneInterpolator
java.lang.Object
com.walkfares.odsl.conversion.scale.BaseInterpolator
com.walkfares.odsl.conversion.scale.NoneInterpolator
- All Implemented Interfaces:
Interpolator
public class NoneInterpolator extends BaseInterpolator implements Interpolator
-
Method Summary
Modifier and Type Method Description static NoneInterpolator
create(double[] x, double[] y)
static NoneInterpolator
create(VarTimeSeries ts)
double
end(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
double
interpolate(double x)
double
interpolate(UTCDate d)
Methods inherited from class com.walkfares.odsl.conversion.scale.BaseInterpolator
average, beginning, delta, high, low, sum
-
Method Details
-
create
-
create
-
interpolate
- Specified by:
interpolate
in interfaceInterpolator
-
interpolate
public double interpolate(double x)- Specified by:
interpolate
in interfaceInterpolator
-
end
- Specified by:
end
in interfaceInterpolator
- Overrides:
end
in classBaseInterpolator
-