|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface Collector
Collects information from an object. In general, the object will be an
algorithm or an object stored within an algorithm. Collectors have two
states: attached and unattached. Collectors are initially unattached,
and are attached to an appropriate object, called the attach point, by
invoking attach(Object). Once attached, the
collect(Accumulator) may be invoked.
| 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 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. |
| Method Detail |
|---|
AttachPoint getAttachPoint()
Collector attach(Object object)
getAttachPoint().
object - the matching object
void collect(Accumulator accumulator)
accumulator - 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 | |||||