@Sayan, the NaN as an error goal just tells the program to have no goal, in other words just minimize as much as possible with no target in mind. The commented code line right before that isn't a comment explaining the code, it's code that was commented out. Sorry, sloppy I know, and this is due for a major update.
It would have been extremely helpful had the author provided a good example to illustrate his program. for new bees it would be impossible to know what and how to use this program. Please help. Thanks much.
This is a great PSO toolbox. But can anyone please help me out in the folowing problem:
In DemoPSOBehavior.m file at lines 89 - 95 I see
% errgoal=0.97643183; % max for f6 function (close enough for termination)
% errgoal=0; % min
errgoal=NaN; <------ Will it be 0 ?