protocol
differential_evolution_problem_protocol
Protocol for continuous bounded Differential Evolution problem definitions.
logtalk_load(differential_evolution(loader))staticPublic predicates
position_bounds/1
Returns a ground, non-empty proper list of Lower-Upper numeric bound pairs, with Lower =< Upper. Fixed dimensions are allowed.
staticposition_bounds(Bounds)position_bounds(-list(pair)) - onefitness/2
Computes the fitness of a candidate solution. The optimization direction is selected by the objective/1 option.
staticfitness(Position,Fitness)fitness(+list(number),-number) - oneinitial_positions/1
Optional. Returns exactly the configured population size in ground initial positions inside the bounds. When not defined, the algorithm generates a continuous random initial population.
staticinitial_positions(Positions)initial_positions(-list(list(number))) - zero_or_onestop_condition/3
Optional. True when the search should stop given the completed generation, best position, and best fitness.
staticstop_condition(Generation,BestPosition,BestFitness)stop_condition(+non_negative_integer,+list(number),+number) - zero_or_oneprogress/5
Optional. Called at most updates(N) times, including one final report, with generation, best position, best fitness, mean fitness, and mean Euclidean distance from the centroid.
staticprogress(Generation,BestPosition,BestFitness,MeanFitness,Diversity)progress(+non_negative_integer,+list(number),+number,+number,+number) - zero_or_oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)