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