farm-ng-core
time_series.h File Reference
#include <farm_ng/core/logging/expected.h>
#include <sophus/concepts/utils.h>
#include <deque>
Include dependency graph for time_series.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  farm_ng::time_series::MaxGap
 
struct  farm_ng::time_series::NearnessThreshold
 
class  farm_ng::TimeSeries< TValueWithStamp >
 TimeSeries is a container of StampedValue that are sorted by their timestamp. More...
 
struct  farm_ng::TimeSeries< TValueWithStamp >::Bounds
 

Namespaces

 farm_ng
 
 farm_ng::time_series
 

Functions

template<class TType >
auto farm_ng::time_series::getStamp (TType const &value) -> double
 Non-intrusive way to add getStamp function to a type needed for StampedValue concept. More...
 
template<class TType >
auto farm_ng::time_series::interpolate (TType const &foo_from_bar, TType const &foo_from_daz, double p=0.5) -> TType
 

Variables

template<class TType >
concept farm_ng::time_series::StampedValue
 StampedValue is a type that has a timestamp. More...
 
template<class TType >
concept farm_ng::time_series::InterpolativeValue
 Interpolative is a type which can be interpolated. More...