Module: Evopop
- Defined in:
- lib/evopop.rb,
lib/evopop/dna.rb,
lib/evopop/candidate.rb,
lib/evopop/crossover.rb,
lib/evopop/population.rb
Overview
Toplevel class for evopop project
Defined Under Namespace
Modules: Crossover Classes: Candidate, Dna, Population, PopulationConfig
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
12 13 14 |
# File 'lib/evopop.rb', line 12 def config @config end |
Class Method Details
.popconfig {|@config| ... } ⇒ Object
15 16 17 18 |
# File 'lib/evopop.rb', line 15 def self.popconfig @config ||= PopulationConfig.new yield(@config) end |