Module: Algorithms::GeneticAlgorithm
- Defined in:
- lib/algorithms/genetic_algorithm/genetic_algorithm.rb
Defined Under Namespace
Modules: Solution Classes: ArraySolution, BitsetSolution, CombinationSolution, Engine, PermutationSolution
Class Method Summary collapse
-
.init(population) ⇒ Object
population = list of solutions.
Class Method Details
.init(population) ⇒ Object
population = list of solutions
17 18 19 |
# File 'lib/algorithms/genetic_algorithm/genetic_algorithm.rb', line 17 def self.init(population) Engine.new(population) end |