org.jgap
Class NaturalSelector
java.lang.Object
org.jgap.NaturalSelector
- All Implemented Interfaces:
- java.io.Serializable, Configurable, INaturalSelector
- Direct Known Subclasses:
- NaturalSelectorExt, StandardPostSelector
public abstract class NaturalSelector
- extends java.lang.Object
- implements INaturalSelector, Configurable
Abstract base implementation of interface INaturalSelector.
- Since:
- 2.0
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_config
protected Configuration m_config
m_monitor
protected IEvolutionMonitor m_monitor
m_monitorActive
protected boolean m_monitorActive
NaturalSelector
public NaturalSelector()
- Default constructor
- Since:
- 3.3.2
NaturalSelector
public NaturalSelector(Configuration a_config)
- Parameters:
a_config - the configuration to use- Since:
- 3.0
getConfiguration
public Configuration getConfiguration()
- Returns:
- the (immutable) configuration to use
- Since:
- 3.0
add
protected abstract void add(IChromosome a_chromosomeToAdd)
- Add a Chromosome instance to this selector's working pool of Chromosomes.
- Parameters:
a_chromosomeToAdd - the specimen to add to the pool- Since:
- 1.0