public class DiversityBooleanFraction extends java.lang.Object implements DiversityBoolean
DiversityBooleanFraction
calculates the Diversity
between
two BooleanGenotype
s by calculating the fraction of different vector
entries.Constructor and Description |
---|
DiversityBooleanFraction() |
Modifier and Type | Method and Description |
---|---|
double |
diversity(org.opt4j.core.genotype.BooleanGenotype a,
org.opt4j.core.genotype.BooleanGenotype 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.BooleanGenotype a, org.opt4j.core.genotype.BooleanGenotype b)
Diversity
Genotype
s.