class Crowbar::EvolutionBuilder

Overview

DSL Builder for Genetic Algorithm and Evolutionary tuning

Defined in:

crowbar/dsl/builder.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(manager : Evolution::Manager, engine : Engine | Nil = nil) #

Instance Method Detail

def crossover_rate(val : Float64) #

def enabled(val : Bool) #

def engine : Engine | Nil #

def exploration_coeff(val : Float64) #

Tunes exploration factor for UCB1 bandit (default ~1.414)


def exploration_rate(val : Float64) #

def manager : Evolution::Manager #

def population_size(val : Int32) #

def selection(strategy : Symbol, size : Int32 = 4) #

def stagnation_limit(val : Int32) #

def use_bandit(val : Bool = true) #

Enables UCB1 Multi-Armed Bandit credit assignment for mutators