class Aitk::GreedyRandomOptimizer

Defined in:

aitk/optimization/greedy_random_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, range : Range(Float64, Float64) = -1000.0..1000.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]