ark::time::detail

Classes

Functions

Declared in “ark/time/time_estimator.hh”:

  • std::list< TimePair > filter_time_pairs(const TimeEstimatorConfiguration & config, const std::list< TimePair > & pairs)
    Filters the list of time pairs. This first sorts the time pairs so they are in a forward direction (based on local time), and then throws out measurements based on configuration.

  • bool can_estimate(const std::list< TimePair > & pairs)
    Returns true if its possible for us to call predict() without throwing on the given list of time pairs.

  • LinearRegressionResult predict(const std::list< TimePair > & pairs)
    Makes a prediction (for a time model) based on the pairs that have been stored to date.