Class BaseInterpolator
java.lang.Object
com.walkfares.odsl.conversion.scale.BaseInterpolator
- All Implemented Interfaces:
Interpolator
- Direct Known Subclasses:
ConstantSpline
,CubicSpline
,LinearSpline
,NoneInterpolator
public abstract class BaseInterpolator extends Object implements Interpolator
-
Constructor Summary
Constructors Constructor Description BaseInterpolator()
-
Method Summary
Modifier and Type Method Description double
average(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
double
beginning(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
double
delta(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
double
end(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
double
high(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
double
low(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
double
sum(UTCDate start, UTCDate end, Calendar from, ScaleOptions options)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.walkfares.odsl.conversion.scale.Interpolator
interpolate, interpolate
-
Constructor Details
-
BaseInterpolator
public BaseInterpolator()
-
-
Method Details
-
beginning
- Specified by:
beginning
in interfaceInterpolator
-
end
- Specified by:
end
in interfaceInterpolator
-
high
- Specified by:
high
in interfaceInterpolator
-
low
- Specified by:
low
in interfaceInterpolator
-
sum
- Specified by:
sum
in interfaceInterpolator
-
average
- Specified by:
average
in interfaceInterpolator
-
delta
- Specified by:
delta
in interfaceInterpolator
-