class EvolveNet::Synapse

Included Modules

Defined in:

evolvenet/neuralnetwork.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(index : Int32, weight : Float64 = 0.0) #

[View source]

Instance Method Detail

def clone #

[View source]
def index : Int32 #

[View source]
def index=(index : Int32) #

[View source]
def mutate(rate : Float64) #

[View source]
def punctuate(pos : Int32) #

[View source]
def randomize #

[View source]
def weight : Float64 #

[View source]
def weight=(weight : Float64) #

[View source]