Class ImmutableProgramTreeChromosomeSpec.Builder

java.lang.Object
net.bmahe.genetics4j.gp.spec.chromosome.ImmutableProgramTreeChromosomeSpec.Builder
Enclosing class:
ImmutableProgramTreeChromosomeSpec

public static final class ImmutableProgramTreeChromosomeSpec.Builder extends Object
Builds instances of type ImmutableProgramTreeChromosomeSpec. Initialize attributes and then invoke the build() method to create an immutable instance.

Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

  • Field Details

    • INIT_BIT_PROGRAM

      private static final long INIT_BIT_PROGRAM
      See Also:
    • initBits

      private long initBits
    • program

      private Program program
  • Constructor Details

    • Builder

      private Builder()
  • Method Details