|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.analysis.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.
| Constructor Summary | |
StatisticUtilities()
|
|
| Method Summary | |
static double |
getAverage(ArrayList list,
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(Object o,
Method m)
Gets the double returned when the specified method is called on the specified object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StatisticUtilities()
| Method Detail |
public static double getAverage(ArrayList list,
Method m)
list - the list of objects on which to call the methodm - the method to call on the object
public static double getDouble(Object o,
Method m)
o - the object on which to call the methodm - the method to call on the object
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||