AutoPas  3.0.0
Loading...
Searching...
No Matches
Functions
autopas::smoothing Namespace Reference

Algorithms for creating a smooth function through a series of points. More...

Functions

long smoothLastPoint (const std::vector< Evidence > &points, size_t pointsPerEstimation)
 Calculates the smoothed y value for the last point in the given points according to the LOESS algorithm.
 

Detailed Description

Algorithms for creating a smooth function through a series of points.

Function Documentation

◆ smoothLastPoint()

long autopas::smoothing::smoothLastPoint ( const std::vector< Evidence > &  points,
size_t  pointsPerEstimation 
)

Calculates the smoothed y value for the last point in the given points according to the LOESS algorithm.

Note
This function operates with unsigned values and does not protect against under-/overflow!
Parameters
points
pointsPerEstimationNumber of points to take into account for smoothing.
Returns