lib/rubyneat/critter.rb in rubyneat-0.3.5.alpha.6 vs lib/rubyneat/critter.rb in rubyneat-0.4.0.alpha.3
- old
+ new
@@ -220,11 +220,11 @@
gene.to_s}.join("\n") + "\nneurons:\n" + @neurons.map{|k, neu|
neu.to_s}.join("\n")
end
#= Gene Specification
- # The Gene specifices a singlular input and
+ # The Gene specifies a singular input and
# output neuron, which represents a connection
# between them, along with the weight of that
# connection, which may be positive, negative, or zero.
#
# There is also the enabled flag
@@ -234,10 +234,10 @@
# innovation number
attr_accessor :innovation
# input neuron's name (where our output goes)
- # ouptut neuron's name (neuron to be queried)
+ # output neuron's name (neuron to be queried)
attr_accessor :in_neuron, :out_neuron
# weight of the connection
attr_accessor :weight
# Is this gene enabled?