|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.analysis.StatisticUtilities
public class StatisticUtilities
Statistical utilities. Once the COLT library is finalized this will be a wrapper around its statistics package. These methods are used by the other Statistics classes. A user should not need to call this methods under normal circumstances.
| Field Summary | |
|---|---|
static double |
STAT_UTIL_ERRORVAL
|
| Constructor Summary | |
|---|---|
StatisticUtilities()
|
|
| Method Summary | |
|---|---|
static double |
getAverage(java.util.ArrayList list,
java.lang.reflect.Method m)
Gets an average of the values returned by every member of the specified list when method m is called on them. |
static double |
getDouble(java.lang.Object o,
java.lang.reflect.Method m)
Gets the double returned when the specified method is called on the specified object. |
static double |
getMax(java.util.ArrayList list,
java.lang.reflect.Method m)
Gets the max of the values returned by every member of the specified list when method m is called on them. |
static double |
getMin(java.util.ArrayList list,
java.lang.reflect.Method m)
Gets the min of the values returned by every member of the specified list when method m is called on them. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static double STAT_UTIL_ERRORVAL
| Constructor Detail |
|---|
public StatisticUtilities()
| Method Detail |
|---|
public static double getAverage(java.util.ArrayList list,
java.lang.reflect.Method m)
list - the list of objects on which to call the methodm - the method to call on the object
public static double getMax(java.util.ArrayList list,
java.lang.reflect.Method m)
list - the list of objects on which to call the methodm - the method to call on the object
public static double getMin(java.util.ArrayList list,
java.lang.reflect.Method m)
list - the list of objects on which to call the methodm - the method to call on the object
public static double getDouble(java.lang.Object o,
java.lang.reflect.Method m)
o - the object on which to call the methodm - the method to call on the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||