class

YAGA::Genome(T, U)

Inherits Reference < Object

Constructors

Instance methods

activate(inputs : T) : U
Source
crossover(other : Genome(T, U)) : Void
Source
generate
Source
mutate
Source
replace(other : Genome(T, U)) : Void
Source
same?(other : Genome) : Bool

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.

Source
size
Source
to_json(json : JSON::Builder) : Void
Source
update_random(random : Random) : Void
Source

Macros

compile(name, inputs_type, inputs_size, *layers)
Source