public class DiversityDoubleEuclidean extends java.lang.Object implements DiversityDouble
DiversityDoubleEuclidean
calculates the Diversity
by the
Euclidean distance between the two Genotype
s.Constructor and Description |
---|
DiversityDoubleEuclidean() |
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.