Module: NullCrossover
- Defined in:
- lib/charlie/crossover.rb
Overview
Just returns the two parents.
Instance Method Summary collapse
Instance Method Details
#cross(parent1, parent2) ⇒ Object
5 6 7 |
# File 'lib/charlie/crossover.rb', line 5 def cross(parent1,parent2) [parent1.dup,parent2.dup] end |