public final class LevelPolator extends Polator.Abstract
Polator.Abstract| Constructor and Description |
|---|
LevelPolator() |
| Modifier and Type | Method and Description |
|---|---|
protected PointValue |
extrapolate(StoreValuesQuery polatedQuery,
DateTime stamp,
PointValue[] pointValuesBefore)
Extrapolates a value.
|
protected int |
extrapolationNeedsBefore()
Returns the number of values extrapolation needs before.
|
protected PointValue |
interpolate(StoreValuesQuery polatedQuery,
DateTime stamp,
PointValue[] pointValuesBefore,
PointValue[] pointValuesAfter)
Interpolates a value.
|
protected int |
interpolationNeedsAfter()
Returns the number of values interpolation needs after.
|
protected int |
interpolationNeedsBefore()
Returns the number of values interpolation needs before.
|
decode, polateprotected PointValue extrapolate(StoreValuesQuery polatedQuery, DateTime stamp, PointValue[] pointValuesBefore)
extrapolate in class Polator.AbstractpolatedQuery - The polated query.stamp - The stamp for the synthesized value.pointValuesBefore - The needed point values before.protected int extrapolationNeedsBefore()
extrapolationNeedsBefore in class Polator.Abstractprotected PointValue interpolate(StoreValuesQuery polatedQuery, DateTime stamp, PointValue[] pointValuesBefore, PointValue[] pointValuesAfter)
interpolate in class Polator.AbstractpolatedQuery - The polated query.stamp - The stamp for the synthesized value.pointValuesBefore - The needed point values before.pointValuesAfter - The needed point values after.protected int interpolationNeedsAfter()
interpolationNeedsAfter in class Polator.Abstractprotected int interpolationNeedsBefore()
interpolationNeedsBefore in class Polator.AbstractCopyright © 2003-2019 Serge Brisson. All Rights Reserved.