class Aitk::SimulatedAnnealingOptimizer

Defined in:

aitk/optimization/simulated_annealing_opmtimizer.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, temperature = 100.0..0.001, cycles : Int32 = 100, &fitness_function : Array(Float64) -> Float64) #

[View source]

Instance Method Detail

def iterate #

[View source]
def optimize(iterations : Int32 = 1000) #

[View source]
def score #

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

[View source]