class YAGA::Chromosomes::BinaryNeuron
- YAGA::Chromosomes::BinaryNeuron
- Reference
- Object
Included Modules
Defined in:
yaga/chromosomes/binary_neuron.crConstructors
- .new(num_inputs : UInt32, layer_index : UInt32, chromosome_index : UInt32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #activate(inputs : BitArray) : Bool
- #crossover(other : Chromosome) : Void
- #mutate : Void
- #operation : YAGA::Chromosomes::BinaryNeuron::Operation
- #operation=(operation : YAGA::Chromosomes::BinaryNeuron::Operation)
- #randomize : Void
- #replace(other : Chromosome) : Void
- #same?(other : Chromosome) : Bool
- #size : UInt64
- #to_json(json : JSON::Builder) : Void
Instance methods inherited from module YAGA::Chromosome(BitArray, BitArray, Bool)
activate(inputs : U) : V
activate,
chromosome_index
chromosome_index,
crossover(other : Chromosome(T, U, V)) : Void
crossover,
genes
genes,
layer_index
layer_index,
mutate : Void
mutate,
num_inputs
num_inputs,
randomize : Void
randomize,
replace(other : Chromosome(T, U, V)) : Void
replace,
same?(other : Chromosome) : Bool
same?,
size : UInt64
size,
to_json(json : JSON::Builder) : Void
to_json,
update_random(random) : Void
update_random
Constructor methods inherited from module YAGA::Chromosome(BitArray, BitArray, Bool)
new(num_inputs, layer_index, chromosome_index)new(pull : JSON::PullParser) new