Class BitChromosomeSpec

java.lang.Object
net.bmahe.genetics4j.core.spec.chromosome.BitChromosomeSpec
All Implemented Interfaces:
ChromosomeSpec
Direct Known Subclasses:
ImmutableBitChromosomeSpec

@Immutable public abstract class BitChromosomeSpec extends Object implements ChromosomeSpec
  • Constructor Details

    • BitChromosomeSpec

      public BitChromosomeSpec()
  • Method Details

    • numBits

      @Parameter public abstract int numBits()
    • check

      @Check protected void check()
    • of

      public static BitChromosomeSpec of(int numBits)