Netick.DoubleStats Class Reference

Public Member Functions

CircularList< double > GetData ()
 
bool IsHealthy ()
 
 DoubleStats (int windowSize=32 *4, double warningThreshold=Mathf.Infinity, bool lowIsBetter=true)
 
void Update (double value)
 
void Reset ()
 

Properties

double latest [get]
 
double max [get]
 
double min [get]
 
double average [get]
 
double stdDeviation [get]
 
double stdDeviation2 [get]
 
double warningThreshold [get]
 
CircularList< double > Data [get]
 

Constructor & Destructor Documentation

◆ DoubleStats()

Netick.DoubleStats.DoubleStats ( int  windowSize = 32 * 4,
double  warningThreshold = Mathf.Infinity,
bool  lowIsBetter = true 
)

Member Function Documentation

◆ GetData()

CircularList< double > Netick.DoubleStats.GetData ( )

◆ IsHealthy()

bool Netick.DoubleStats.IsHealthy ( )

◆ Reset()

void Netick.DoubleStats.Reset ( )

◆ Update()

void Netick.DoubleStats.Update ( double  value)

Property Documentation

◆ average

double Netick.DoubleStats.average
get

◆ Data

CircularList<double> Netick.DoubleStats.Data
get

◆ latest

double Netick.DoubleStats.latest
get

◆ max

double Netick.DoubleStats.max
get

◆ min

double Netick.DoubleStats.min
get

◆ stdDeviation

double Netick.DoubleStats.stdDeviation
get

◆ stdDeviation2

double Netick.DoubleStats.stdDeviation2
get

◆ warningThreshold

double Netick.DoubleStats.warningThreshold
get