object
differential_evolution(Problem,RandomAlgorithm)
Problem- Problem object implementingdifferential_evolution_protocol.RandomAlgorithm- Random number generator algorithm for thefast_randomlibrary.
Differential Evolution (DE/rand/1/bin, DE/rand/1/exp, DE/best/1/bin, and DE/current-to-best/1/bin) metaheuristic for continuous bounded optimization.
logtalk_load(differential_evolution(loader))static, context_switching_calls
Strategies: The
strategy(rand/1/bin)(default),strategy(rand/1/exp),strategy(best/1/bin), andstrategy(current-to-best/1/bin)options select the classic mutation strategies.Optimization objective: The
objective(minimize|maximize)option selects the fitness ordering.Boundary handling: Trial vectors that leave the bounds are clamped to the nearest bound.
Seed control: The
seed(S)option initializes the random number generator for reproducible runs.
Public predicates
run/2
Runs Differential Evolution with default options and returns the best position and fitness found.
staticrun(BestPosition,BestFitness)run(-list(number),-number) - onerun/3
Runs Differential Evolution with the given options and returns the best position and fitness found.
staticrun(BestPosition,BestFitness,Options)run(-list(number),-number,+list(compound)) - onerun/4
Runs Differential Evolution with the given options and returns the best position, best fitness, and run statistics.
staticrun(BestPosition,BestFitness,Statistics,Options)run(-list(number),-number,-list(compound),+list(compound)) - one
Statistics list: Contains
generations(N),evaluations(E),improvements(I),final_mean_fitness(M), andfinal_diversity(D).
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)