|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.stat.AbstractUnbufferedCollector | +--mss.ea.stat.ScoreCollector | +--mss.ea.stat.AverageScoreCollector
Collector which calculates the average score of a population. This implies that the score is a Number. The collect() method performs a cast to Number, if that fails an avarage score of 0.0 is returned. The exception appears in the tracelog.
Constructor Summary | |
AverageScoreCollector(DataTracker dt,
AbstractPopulation ap)
Constructor. |
Method Summary | |
void |
collect()
Collects the data. |
Methods inherited from class mss.ea.stat.AbstractUnbufferedCollector |
getData, isBuffered, notificationSignal, setTracker |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AverageScoreCollector(DataTracker dt, AbstractPopulation ap)
dt
- tracker to send data toap
- population to retrieve score fromMethod Detail |
public void collect()
collect
in class ScoreCollector
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |