|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgap.NaturalSelector
com.anji.integration.SimpleSelector
public class SimpleSelector
Selects chromosomes based directly on fitness value, as opposed to a statistical probability.
| Constructor Summary | |
|---|---|
SimpleSelector()
|
|
| Method Summary | |
|---|---|
protected void |
add(Configuration a_activeConfigurator,
Chromosome a_chromosomeToAdd)
Add a_chromosomeToAdd to set of chromosomes to be evaluated. |
protected void |
emptyImpl()
empty chromosome list |
protected java.util.List |
select(Configuration a_activeConfiguration,
int a_howManyToSelect)
Returns the a_howManyToSelect chromosomes with highest speciated fitness. |
| Methods inherited from class org.jgap.NaturalSelector |
|---|
add, empty, getElitismMinSpecieSize, getSurvivalRate, select, setElitism, setElitismMinSpecieSize, setSurvivalRate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSelector()
| Method Detail |
|---|
protected void add(Configuration a_activeConfigurator,
Chromosome a_chromosomeToAdd)
a_chromosomeToAdd to set of chromosomes to be evaluated.
add in class NaturalSelectora_activeConfigurator - a_chromosomeToAdd -
protected java.util.List select(Configuration a_activeConfiguration,
int a_howManyToSelect)
a_howManyToSelect chromosomes with highest speciated fitness.
select in class NaturalSelectora_activeConfiguration - a_howManyToSelect -
List contains Chromosome objectsprotected void emptyImpl()
emptyImpl in class NaturalSelectorNaturalSelector.empty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||