abstract class YAGA::Genome(T, U)
- YAGA::Genome(T, U)
- Reference
- Object
Defined in:
yaga/genome.crConstructors
Instance Method Summary
- #activate(inputs : T) : U
- #crossover(other : Genome(T, U)) : Void
- #dna
- #generate : Void
- #mutate : Void
- #replace(other : Genome(T, U)) : Void
-
#same?(other : Genome) : Bool
Returns
trueif this reference is the same as other. - #size : UInt64
- #to_json(json : JSON::Builder) : Void
- #update_random(random : Random) : Void
Macro Summary
Constructor Detail
Instance Method Detail
Description copied from class Reference
Returns true if this reference is the same as other. This is only
true if this reference's object_id is the same as other's.