|
||||||||||
| 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.SelectCompose
SelectAll is a SelectionAlgorithm
that will returns the result of a SelectionAlgorithm on
the Population returned from the second, i.e.
first(second()).
| Constructor Summary | |
SelectCompose(SelectionAlgorithm first,
SelectionAlgorithm second)
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 SelectCompose(SelectionAlgorithm first,
SelectionAlgorithm second)
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 | |||||||||