WFO.m
function [fb,xb,con] = WFO(alg,prob)
% Water Flowing Optimizer
% Reference:
% Kaiping Luo. Water Flow Optimizer: a nature-inspired evolutionary algorithm for global optimization.
% IEEE Transactions on Cybernetics, 2021.
%
% Syntax
% [fb,xb,con] = WFO(alg,prob)
% alg.NP: the number of water particle
% alg.max_nfe: the maximal number of function evaluation
% alg.pl: the laminar probability
% al.pe: the eddying probability
% prob.lb: a row vector representing the lower bound
% prob.ub: a row vector representing the upper bound
% prob.fobj: a function handle representing the objective to be minimized
% prob.dim: the dimension of the given problem
% fb: the best objective function value found
% xb: the best solution found
% con: convergence
%
% Edited by: Kaiping Luo, Beihang University, kaipingluo@buaa.edu
% in Matlab R2020a%% Initialization
dim = prob.d
本文发布于:2024-01-28 03:36:37,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/17063842014502.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |