@Override
	public Codec<ISeq<BitGene>, BitGene> codec() {
		return Codec.of(
			Genotype.of(BitChromosome.of(_length, _onesProbability)),
			gt -> ISeq.of(gt.chromosome())
		);
	}
Create a new Ones-Counting example with the given parameters.

@param length the length of the ones-vector
@param onesProbability the probability of ones in the created vector
jenetics.example/src/main/java/io/jenetics/example/OnesCounting.java