class Phren::Synapse
Attributes
from[R]
to[R]
weight[RW]
Public Class Methods
new(from, to, weight)
click to toggle source
@param [Phren::Neuron] where synapse starting @param [Phren::Neuron] where synapse is ending @param [Phren::Neuron] synapse wheight
# File lib/synapse.rb, line 11 def initialize(from, to, weight) @from = from @to = to @weight = weight end