|
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.AverageSequence
Computes the average of a sequence of values. Used by the SequenceGraph class and should not be created independently for normal use. This class works much the same as the AverageDataSource class.
AverageDataSource| Constructor Summary | |
AverageSequence(ArrayList list,
String methodName)
Construsts this AverageSequence using the specified list and method name. |
|
| Method Summary | |
double |
getSValue()
Compute and return the average. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AverageSequence(ArrayList list,
String methodName)
list - the list of objects on which to call the methodmethodName - the name of the method to call. This method must return
some subclass of java.Number.Number| Method Detail |
public double getSValue()
getSValue in interface Sequence
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||