MeteoIODoc 20260811.aeb9aef5
Environmental timeseries pre-processing
Loading...
Searching...
No Matches
gap_info Struct Reference

#include <ResamplingAlgorithms.h>

Public Member Functions

 GAP_INFO ()
 
void extend (const size_t &idx, const std::vector< MeteoData > &vecM)
 
void setBefore (const size_t &idx, const std::vector< MeteoData > &vecM)
 
void setAfter (const size_t &idx, const std::vector< MeteoData > &vecM)
 
std::string toString () const
 
double size () const
 
size_t searchBackward (const size_t &pos, const size_t &paramindex, const std::vector< MeteoData > &vecM, const Date &resampling_date, const double &i_max_gap_size)
 
size_t searchForward (const size_t &pos, const size_t &paramindex, const std::vector< MeteoData > &vecM, const Date &resampling_date, const double &i_max_gap_size, const size_t &indexP1)
 

Public Attributes

Date before
 
Date after
 Date of the first valid point after the gap.
 
size_t beforeIdx
 Index of the last valid point before the gap.
 
size_t afterIdx
 Index of the first valid point after the gap.
 
GapType gapType
 

Member Function Documentation

◆ extend()

void gap_info::extend ( const size_t &  idx,
const std::vector< MeteoData > &  vecM 
)
inline

◆ GAP_INFO()

gap_info::GAP_INFO ( )
inline

◆ searchBackward()

size_t gap_info::searchBackward ( const size_t &  pos,
const size_t &  paramindex,
const std::vector< MeteoData > &  vecM,
const Date &  resampling_date,
const double &  i_max_gap_size 
)

◆ searchForward()

size_t gap_info::searchForward ( const size_t &  pos,
const size_t &  paramindex,
const std::vector< MeteoData > &  vecM,
const Date &  resampling_date,
const double &  i_max_gap_size,
const size_t &  indexP1 
)

◆ setAfter()

void gap_info::setAfter ( const size_t &  idx,
const std::vector< MeteoData > &  vecM 
)
inline

◆ setBefore()

void gap_info::setBefore ( const size_t &  idx,
const std::vector< MeteoData > &  vecM 
)
inline

◆ size()

double gap_info::size ( ) const
inline

◆ toString()

std::string gap_info::toString ( ) const
inline

Member Data Documentation

◆ after

Date gap_info::after

Date of the first valid point after the gap.

◆ afterIdx

size_t gap_info::afterIdx

Index of the first valid point after the gap.

◆ before

Date gap_info::before

◆ beforeIdx

size_t gap_info::beforeIdx

Index of the last valid point before the gap.

◆ gapType

GapType gap_info::gapType

The documentation for this struct was generated from the following file: