|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.util.StatUtils
public class StatUtils
This class implements some of the utilies commonly used during performance measurements on links and by other programs.
| Constructor Summary | |
|---|---|
StatUtils()
|
|
| Method Summary | |
|---|---|
static double |
computeJitter(double jitter,
double delayD,
double delayDplusOne)
Computes the jitter based on previous jitter, and current inter-packet arrival times. |
static double |
computeMean(long[] values,
int numOfValues,
int maxReject)
|
static double |
computeMeanWithoutOutliers(long[] values,
int numOfValues)
This method computes the mean of a sample of values by first removing the outliers. |
static double |
computeStandardDeviation(long[] values,
int numOfValues,
int maxReject)
|
static double |
computeStandardDeviationWithoutOutliers(long[] values,
int numOfValues)
This method computes the standard deviation within a sample of values by first removing the outliers. |
static double |
computeStandardErrorOfMean(double standardDeviation,
int numOfSamples)
This method computes the standard error of the mean based on the standard deviation and the num of samples in the original sample. |
static long[] |
getValuesWithoutOutliers(long[] values,
int numOfValues)
This method removes outliers from a sample of values. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatUtils()
| Method Detail |
|---|
public static double computeStandardErrorOfMean(double standardDeviation,
int numOfSamples)
public static double computeMean(long[] values,
int numOfValues,
int maxReject)
public static double computeStandardDeviation(long[] values,
int numOfValues,
int maxReject)
public static double computeJitter(double jitter,
double delayD,
double delayDplusOne)
public static double computeStandardDeviationWithoutOutliers(long[] values,
int numOfValues)
public static double computeMeanWithoutOutliers(long[] values,
int numOfValues)
public static long[] getValuesWithoutOutliers(long[] values,
int numOfValues)
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||