Class NeatChromosome
java.lang.Object
net.bmahe.genetics4j.neat.chromosomes.NeatChromosome
- All Implemented Interfaces:
Chromosome
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<Connection> private final float
private final float
private final int
private final int
-
Constructor Summary
ConstructorDescriptionNeatChromosome
(int _numInputs, int _numOutputs, float _minWeightValue, float _maxWeightValue, List<Connection> _connections) -
Method Summary
-
Field Details
-
numInputs
private final int numInputs -
numOutputs
private final int numOutputs -
minWeightValue
private final float minWeightValue -
maxWeightValue
private final float maxWeightValue -
connections
-
-
Constructor Details
-
NeatChromosome
public NeatChromosome(int _numInputs, int _numOutputs, float _minWeightValue, float _maxWeightValue, List<Connection> _connections)
-
-
Method Details
-
getNumAlleles
public int getNumAlleles()- Specified by:
getNumAlleles
in interfaceChromosome
-
getNumInputs
public int getNumInputs() -
getNumOutputs
public int getNumOutputs() -
getMinWeightValue
public float getMinWeightValue() -
getMaxWeightValue
public float getMaxWeightValue() -
getConnections
-
getInputNodeIndices
-
getOutputNodeIndices
-
hashCode
public int hashCode() -
equals
-
toString
-