YAGA::Chromosomes::Equation
Inherits YAGA::Chromosome < Reference < Object
Constants
GENOME_SIZE = 64_u8
Constructors
new(num_inputs : UInt32, layer_index : UInt32, chromosome_index : UInt32, genome_size = GENOME_SIZE, command_range : Array(UInt8) = COMMAND_RANGE)
Sourcenew(pull : JSON::PullParser)
SourceInstance methods
crossover(other : Chromosome) : Void
Sourcemutate
Sourcerandomize
Sourcereplace(other : Chromosome) : Void
Source