|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.entity.operators.selection.SelectionStrategy net.sourceforge.cilib.entity.operators.selection.ElitistSelectionStrategy
public class ElitistSelectionStrategy
Constructor Summary | |
---|---|
ElitistSelectionStrategy()
|
|
ElitistSelectionStrategy(ElitistSelectionStrategy copy)
|
Method Summary | ||
---|---|---|
ElitistSelectionStrategy |
getClone()
Create a cloned copy of the current object and return it. |
|
ControlParameter |
getSelectionPercentage()
Get the percentage of selection for the elitist selection. |
|
void |
performOperation(TopologyHolder holder)
Perform the selection procedure. |
|
|
select(Topology<T> population)
Perform an elitist selection. |
|
void |
setSelectionPercentage(ControlParameter selectionPercentage)
Set the percentage for the selection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElitistSelectionStrategy()
public ElitistSelectionStrategy(ElitistSelectionStrategy copy)
Method Detail |
---|
public ElitistSelectionStrategy getClone()
getClone
in interface Operator
getClone
in interface Cloneable
getClone
in class SelectionStrategy
Object.clone()
public <T extends Entity> T select(Topology<T> population)
Topology
. The selected entity is not removed from
the topology.
select
in class SelectionStrategy
T
- The generic entity type.population
- The population from which the selections are to be made.
public void performOperation(TopologyHolder holder)
holder
- The TopologyHolder
maintaining the various entity collections.public ControlParameter getSelectionPercentage()
public void setSelectionPercentage(ControlParameter selectionPercentage)
selectionPercentage
- The value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |