Class Genome
In: lib/libgenetics.rb
lib/libpplayer.rb
Parent: Object

A single genome in a population

Methods

Attributes

genome  [RW] 

Public Class methods

Create a random genome of the given length

Public Instance methods

Crossover two genomes at the given point

Mutate a genome with the given rate per bit

Mutate a genome in-place with the given rate per bit

Create a potential player from a genome

[Validate]