Class NeatChromosomeSpec

java.lang.Object
net.bmahe.genetics4j.neat.spec.NeatChromosomeSpec
All Implemented Interfaces:
ChromosomeSpec
Direct Known Subclasses:
ImmutableNeatChromosomeSpec

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

    • NeatChromosomeSpec

      public NeatChromosomeSpec()
  • Method Details

    • numInputs

      @Parameter public abstract int numInputs()
    • numOutputs

      @Parameter public abstract int numOutputs()
    • minWeightValue

      @Parameter public abstract float minWeightValue()
    • maxWeightValue

      @Parameter public abstract float maxWeightValue()
    • check

      @Check protected void check()
    • of

      public static NeatChromosomeSpec of(int numInputs, int numOutputs, float minWeightValue, float maxWeightValue)