It is an interpolation function the estimates the nearest coverage at a given non-observed time. More...
#include <NearestCoverageAtTimeInterp.h>
Public Member Functions | |
std::auto_ptr< Coverage > | estimate (const CoverageSeries &cvs, te::dt::DateTime *time) const |
It estimates a coverage of a coverage series at a given non-observed time . More... | |
te::common::AbstractParameters * | getParams () |
It gets the parameters associated to the interpolator. More... | |
void | setParams (te::common::AbstractParameters *p) |
It sets the parameters associated to the interpolator. More... | |
virtual | ~NearestCoverageAtTimeInterp () |
Virtual destructor. More... | |
Static Public Member Functions | |
static NearestCoverageAtTimeInterp & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
NearestCoverageAtTimeInterp () | |
Constructor. More... | |
Friends | |
class | te::common::Singleton< NearestCoverageAtTimeInterp > |
It is an interpolation function the estimates the nearest coverage at a given non-observed time.
Definition at line 49 of file NearestCoverageAtTimeInterp.h.
|
virtual |
Virtual destructor.
Definition at line 40 of file NearestCoverageAtTimeInterp.cpp.
|
protected |
Constructor.
Definition at line 36 of file NearestCoverageAtTimeInterp.cpp.
|
virtual |
It estimates a coverage of a coverage series at a given non-observed time .
cvs | A coverage series. |
time | The given non-observed time. |
Implements te::st::AbstractCoverageSeriesInterp.
Definition at line 45 of file NearestCoverageAtTimeInterp.cpp.
References te::dt::AbstractData::clone(), te::dt::GetDistance(), and te::st::CoverageSeries::getObservations().
|
staticinherited |
It returns a reference to the singleton instance.
|
inlinevirtual |
It gets the parameters associated to the interpolator.
Implements te::st::AbstractCoverageSeriesInterp.
Definition at line 55 of file NearestCoverageAtTimeInterp.h.
|
inlinevirtual |
It sets the parameters associated to the interpolator.
p | The parameters to be associated to the interpolator. |
Implements te::st::AbstractCoverageSeriesInterp.
Definition at line 57 of file NearestCoverageAtTimeInterp.h.
|
friend |
Definition at line 51 of file NearestCoverageAtTimeInterp.h.