Package org.opt4j.operator.diversity
Provides the classes for the distance operator for genotypes.
- See Also:
Diversity
-
Interface Summary Interface Description Diversity<G extends Genotype> TheDiversity
determines the genetic diversity of twoIndividual
s.DiversityBoolean DiversityDouble DiversityInteger -
Class Summary Class Description BasicDiversityModule DiversityBooleanFraction TheDiversityBooleanFraction
calculates theDiversity
between twoBooleanGenotype
s by calculating the fraction of different vector entries.DiversityDoubleAbsolute TheDiversityDoubleAbsolute
calculates theDiversity
as the mean absolute difference of each entry in the double vector.DiversityDoubleEuclidean TheDiversityDoubleEuclidean
calculates theDiversity
by the Euclidean distance between the twoGenotype
s.DiversityGenericImplementation TheDiversityGenericImplementation
is a standard implementation of theDiversity
interface.DiversityIntegerEuclidean TheDiversityIntegerEuclidean
is an implementation of theDiversityInteger
that calculates the diversity of twoIntegerGenotype
objects by normalizing the values to[0,1]
and calculating the Euclidean distance.DiversityModule TheDiversityModule
is used for modules for theDiversity
operator.DiversityPermutation -
Enum Summary Enum Description BasicDiversityModule.BooleanType Type ofDiversity
operator for theBooleanGenotype
.BasicDiversityModule.DoubleType Type ofDiversity
operator for theDoubleGenotype
.