|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.moeaframework.analysis.collector.PopulationSizeCollector
public class PopulationSizeCollector
Collects the population size and archive size, if available, from an
EvolutionaryAlgorithm.
| Constructor Summary | |
|---|---|
PopulationSizeCollector()
Constructs an unattached collector for recording the population size and archive size, if available, from an EvolutionaryAlgorithm. |
|
PopulationSizeCollector(EvolutionaryAlgorithm algorithm)
Constructs a collector for recording the population size and archive size, if available, from the specified EvolutionaryAlgorithm. |
|
| Method Summary | |
|---|---|
Collector |
attach(Object object)
Returns a new instance of this collector which has been attached to the specified object as identified by the attach point returned through Collector.getAttachPoint(). |
void |
collect(Accumulator accumulator)
Collects the necessary information from the object, storing the data to the specified accumulator. |
AttachPoint |
getAttachPoint()
Returns the attach point describing where this collector is attached. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PopulationSizeCollector()
EvolutionaryAlgorithm.
public PopulationSizeCollector(EvolutionaryAlgorithm algorithm)
EvolutionaryAlgorithm.
algorithm - the algorithm this collector records data from| Method Detail |
|---|
public AttachPoint getAttachPoint()
Collector
getAttachPoint in interface Collectorpublic Collector attach(Object object)
CollectorCollector.getAttachPoint().
attach in interface Collectorobject - the matching object
public void collect(Accumulator accumulator)
Collector
collect in interface Collectoraccumulator - the accumulator to which the collected data is stored
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||