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> TheDiversitydetermines the genetic diversity of twoIndividuals.DiversityBoolean DiversityDouble DiversityInteger -
Class Summary Class Description BasicDiversityModule DiversityBooleanFraction TheDiversityBooleanFractioncalculates theDiversitybetween twoBooleanGenotypes by calculating the fraction of different vector entries.DiversityDoubleAbsolute TheDiversityDoubleAbsolutecalculates theDiversityas the mean absolute difference of each entry in the double vector.DiversityDoubleEuclidean TheDiversityDoubleEuclideancalculates theDiversityby the Euclidean distance between the twoGenotypes.DiversityGenericImplementation TheDiversityGenericImplementationis a standard implementation of theDiversityinterface.DiversityIntegerEuclidean TheDiversityIntegerEuclideanis an implementation of theDiversityIntegerthat calculates the diversity of twoIntegerGenotypeobjects by normalizing the values to[0,1]and calculating the Euclidean distance.DiversityModule TheDiversityModuleis used for modules for theDiversityoperator.DiversityPermutation -
Enum Summary Enum Description BasicDiversityModule.BooleanType Type ofDiversityoperator for theBooleanGenotype.BasicDiversityModule.DoubleType Type ofDiversityoperator for theDoubleGenotype.