module GA

Constants

VERSION

Public Class Methods

included(cls) click to toggle source
# File lib/ga.rb, line 5
def self.included(cls)
  cls.extend(ClassMethods)
end

Public Instance Methods

<=>(target) click to toggle source
# File lib/ga.rb, line 9
def <=>(target)
  fitness <=> target.fitness
end