Package net.bmahe.genetics4j.neat.spec
Class NeatChromosomeSpec
java.lang.Object
net.bmahe.genetics4j.neat.spec.NeatChromosomeSpec
- All Implemented Interfaces:
ChromosomeSpec
- Direct Known Subclasses:
ImmutableNeatChromosomeSpec
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
check()
abstract float
abstract float
abstract int
abstract int
static NeatChromosomeSpec
of
(int numInputs, int numOutputs, float minWeightValue, float maxWeightValue)
-
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)
-