|
farm-ng-core
|
Classes | |
| struct | MaxGap |
| struct | NearnessThreshold |
Functions | |
| template<class TType > | |
| auto | getStamp (TType const &value) -> double |
| Non-intrusive way to add getStamp function to a type needed for StampedValue concept. More... | |
| template<class TType > | |
| auto | interpolate (TType const &foo_from_bar, TType const &foo_from_daz, double p=0.5) -> TType |
| template<> | |
| auto | getStamp< StampedFoo > (StampedFoo const &foo) -> double |
| template<> | |
| auto | getStamp< StampedInterpolative > (StampedInterpolative const &foo) -> double |
| template<> | |
| auto | interpolate< StampedInterpolative > (StampedInterpolative const &lhs, StampedInterpolative const &rhs, double p) -> StampedInterpolative |
| TEST (interpolative_time_series, unit) | |
| TEST (interpolative_time_series, regression) | |
Variables | |
| template<class TType > | |
| concept | StampedValue |
| StampedValue is a type that has a timestamp. More... | |
| template<class TType > | |
| concept | InterpolativeValue |
| Interpolative is a type which can be interpolated. More... | |
| auto farm_ng::time_series::getStamp | ( | TType const & | value | ) | -> double |
Non-intrusive way to add getStamp function to a type needed for StampedValue concept.
The default implementation assumes a member variable called stamp of type double.
| auto farm_ng::time_series::getStamp< StampedFoo > | ( | StampedFoo const & | foo | ) | -> double |
| auto farm_ng::time_series::getStamp< StampedInterpolative > | ( | StampedInterpolative const & | foo | ) | -> double |
| auto farm_ng::time_series::interpolate | ( | TType const & | foo_from_bar, |
| TType const & | foo_from_daz, | ||
| double | p = 0.5 |
||
| ) | -> TType |
| auto farm_ng::time_series::interpolate< StampedInterpolative > | ( | StampedInterpolative const & | lhs, |
| StampedInterpolative const & | rhs, | ||
| double | p | ||
| ) | -> StampedInterpolative |
| farm_ng::time_series::TEST | ( | interpolative_time_series | , |
| regression | |||
| ) |
| farm_ng::time_series::TEST | ( | interpolative_time_series | , |
| unit | |||
| ) |
| concept farm_ng::time_series::InterpolativeValue |
Interpolative is a type which can be interpolated.
| concept farm_ng::time_series::StampedValue |
StampedValue is a type that has a timestamp.