public class DiversityDoubleAbsolute extends java.lang.Object implements DiversityDouble
DiversityDoubleAbsolute
calculates the Diversity
as the
mean absolute difference of each entry in the double vector.Constructor and Description |
---|
DiversityDoubleAbsolute() |
Modifier and Type | Method and Description |
---|---|
double |
diversity(org.opt4j.core.genotype.DoubleGenotype a,
org.opt4j.core.genotype.DoubleGenotype b)
Returns the genetic diversity of two
Genotype s. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOperatorType
public double diversity(org.opt4j.core.genotype.DoubleGenotype a, org.opt4j.core.genotype.DoubleGenotype b)
Diversity
Genotype
s.