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, polate
protected PointValue extrapolate(StoreValuesQuery polatedQuery, DateTime stamp, PointValue[] pointValuesBefore)
extrapolate
in class Polator.Abstract
polatedQuery
- The polated query.stamp
- The stamp for the synthesized value.pointValuesBefore
- The needed point values before.protected int extrapolationNeedsBefore()
extrapolationNeedsBefore
in class Polator.Abstract
protected PointValue interpolate(StoreValuesQuery polatedQuery, DateTime stamp, PointValue[] pointValuesBefore, PointValue[] pointValuesAfter)
interpolate
in class Polator.Abstract
polatedQuery
- 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.Abstract
protected int interpolationNeedsBefore()
interpolationNeedsBefore
in class Polator.Abstract
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.