Class Population
In: src/selection.rb
lib/libgenetics.rb
Parent: Object

A population of genomes

Methods

Attributes

individuals  [RW] 

Public Class methods

Create a population of a given size

Public Instance methods

Perform the crossover step in a population, giving a new population

Perform the mutation step in a population, giving a new population

Use tournament selection to pick an individual for the next generation

[Validate]