|
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.core.GeneticOperator | +--mss.ea.core.StreamSort
Operator for sorting a stream of individuals.
Fields inherited from class mss.ea.core.GeneticOperator |
description, ID, name |
Constructor Summary | |
StreamSort()
Constructor. |
|
StreamSort(IndividualComparator ic)
Constructor. |
Method Summary | |
Individual |
getBest(IndividualStream is)
Gets the best individual in the stream. |
IndividualStream |
process(IndividualStream is)
Processes an individual stream. |
IndividualStream |
sort(IndividualStream is)
Sorts the stream. |
Methods inherited from class mss.ea.core.GeneticOperator |
getDescription, getID, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface mss.ea.core.StreamProcessor |
getName |
Constructor Detail |
public StreamSort()
public StreamSort(IndividualComparator ic)
ic
- individual comparator to be used for sortingMethod Detail |
public IndividualStream sort(IndividualStream is)
is
- individual stream to be sortedpublic Individual getBest(IndividualStream is)
is
- individual stream to search throughpublic IndividualStream process(IndividualStream is)
SingleStreamProcessor
process
in interface SingleStreamProcessor
mss.ea.core.SingleStreamProcessor
is
- individual stream to processEAException
-
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |