Class BitChromosome
java.lang.Object
net.bmahe.genetics4j.core.chromosomes.BitChromosome
- All Implemented Interfaces:
Chromosome
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
numBits
private final int numBits -
bitSet
-
-
Constructor Details
-
BitChromosome
-
-
Method Details
-
getNumAlleles
public int getNumAlleles()- Specified by:
getNumAlleles
in interfaceChromosome
-
getBit
public boolean getBit(int index) -
getBitSet
-
hashCode
public int hashCode() -
equals
-
toString
-