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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description classNaturalSelector.AgeFitnessValueComparatorComparator regarding first the age (older is better), then the fitness value.classNaturalSelector.FitnessAgeValueComparatorComparator regarding first the fitness value, then the age (younger is better).classNaturalSelector.FitnessValueComparatorComparator regarding only the fitness value.
-
Constructor Summary
Constructors Constructor and Description NaturalSelector()Default constructorNaturalSelector(Configuration a_config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ConfigurationgetConfiguration()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jgap.INaturalSelector
empty, returnsUniqueChromosomes, select
-
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
- Returns:
- the (immutable) configuration to use
- Since:
- 3.0
-
-
DMelt 3.0 © DataMelt by jWork.ORG