|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.aerith.misao.util.Statistics
|
+--net.aerith.misao.util.HighOrderStatistics
The HighOrderStatistics represents statistics such as
the median value, which are not obtained in order O(n).
| Field Summary | |
protected double |
median
The median value; |
| Fields inherited from class net.aerith.misao.util.Statistics |
average,
data_count,
deviation,
maximum,
maximum_limit,
minimum,
minimum_limit,
target |
| Constructor Summary | |
HighOrderStatistics(Statisticable target)
Constructs a HighOrderStatistics with a
Statisticable. |
|
| Method Summary | |
void |
calculate()
Calculates the statistics of the target. |
double |
getMedian()
Gets the median value. |
protected java.lang.String |
paramString()
Returns a raw string representation of the state of this object, for debugging use. |
java.lang.String |
toString()
Returns a string representation of the state of this object, for debugging use. |
| Methods inherited from class net.aerith.misao.util.Statistics |
getAverage,
getDeviation,
getMax,
getMin,
getOutputString,
getVariance,
setMaximumLimit,
setMinimumLimit |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected double median
| Constructor Detail |
public HighOrderStatistics(Statisticable target)
HighOrderStatistics with a
Statisticable.target - the target to calculate the statistics.| Method Detail |
public void calculate()
public double getMedian()
protected java.lang.String paramString()
toString
method of the subclasses.public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||