|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.openai.ai.ga.selection.common.SelectAll
SelectAll
is a SelectionAlgorithm
that will returns a clone of the passed Population
.
Constructor Summary | |
SelectAll()
Creates a new SelectAll object. |
Method Summary | |
Population |
selectFromPopulation(Population pop)
Returns a Population that is a clone of the specified
Population |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SelectAll()
SelectAll
object.
Method Detail |
public Population selectFromPopulation(Population pop)
Population
that is a clone of the specified
Population. This represents a "keep-all" method.
- Specified by:
selectFromPopulation
in interface SelectionAlgorithm
- Parameters:
pop
- the Population
to choose from
- Returns:
- a cloned
Population
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |