Sirikata
Public Member Functions | Private Attributes
Sirikata::SimpleRateEstimator Class Reference

RateEstimator that holds its falloff parameter with it. More...

#include <RateEstimator.hpp>

Inheritance diagram for Sirikata::SimpleRateEstimator:
Collaboration diagram for Sirikata::SimpleRateEstimator:

List of all members.

Public Member Functions

 SimpleRateEstimator (double K)
 SimpleRateEstimator (double good_guess, const Time &start, double K)
double estimate_rate (const Time &t, uint32 len)

Private Attributes

double _K

Detailed Description

RateEstimator that holds its falloff parameter with it.

This should only be used when the cost of storing the falloff parameter per estimator is low, i.e. if the estimator is unique.


Constructor & Destructor Documentation

Sirikata::SimpleRateEstimator::SimpleRateEstimator ( double  K) [inline]
Sirikata::SimpleRateEstimator::SimpleRateEstimator ( double  good_guess,
const Time start,
double  K 
) [inline]

Member Function Documentation

double Sirikata::SimpleRateEstimator::estimate_rate ( const Time t,
uint32  len 
) [inline]

Member Data Documentation

Referenced by estimate_rate().


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