class Aitk::HillClimbingOptimizer

Defined in:

aitk/optimization/hill_climbing_optimizer.cr

Constructors

Instance Method Summary

Instance methods inherited from class Aitk::AbstractOptimizer

iterate iterate, iterations : Int32 iterations, optimize(iterations = nil, period = 1, min_change = nil)
optimize(iterations : Nil | Int = nil, period = 1, min_change : Nil | Number = nil, &) : Array(Float64)
optimize
, score score, solution solution

Constructor methods inherited from class Aitk::AbstractOptimizer

new(type, size, &fitness_function : Array(Float64) -> Float64) new

Constructor Detail

def self.new(type, size, acceleration = 0.1, initial_velocity = 1.0, &fitness_function : Array(Float64) -> Float64) #

[View source]

Instance Method Detail

def iterate #

[View source]
def score #

[View source]
def solution : Array(Float64) #

[View source]