|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmetal.experiments.util.Statistics
public class Statistics
This class provides methods for computing some statistics
Constructor Summary | |
---|---|
Statistics()
|
Method Summary | |
---|---|
static java.lang.Double |
calculateIQR(java.util.Vector vector)
Calculates the interquartile range (IQR) of a vector of Doubles |
static java.lang.Double |
calculateMedian(java.util.Vector vector,
int first,
int last)
Calculates the median of a vector considering the positions indicated by the parameters first and last |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Statistics()
Method Detail |
---|
public static java.lang.Double calculateMedian(java.util.Vector vector, int first, int last)
vector
- first
- index of first position to consider in the vectorlast
- index of last position to consider in the vector
public static java.lang.Double calculateIQR(java.util.Vector vector)
vector
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |