Page 14 - Algorithm Collections for Digital Signal Processing Applications using MATLAB
P. 14
2 Chapter 1
Figure 1-1. PSO Example zoomed version
Figure 1-2. PSO Example
1.1 How are the Values of ‘x and y’ are Updated
in Every Iteration?
The vector representation for updating the values for x and y is given in
Figure 1-3. Let the position of the swarms be at ‘a’ and ‘b’ respectively as
shown in the figure. Both are trying to reach the position ‘e’. Let ‘a’ decides
to move towards ‘c’ and ‘b’ decides to move towards ‘d’.
The distance between the position ‘c’ and ‘e’ is greater than the distance
between ‘d’ and ‘e’. so based on the neighbor’s decision position ‘d’ is
treated as the common position decided by both ‘a’ and ‘b’. (ie) the position
‘c’ is the individual decision taken by ‘a’, position ‘d’ is the individual
decision taken by ‘b’ and the position ‘d’ is the common position decided by
both ‘a’ and ‘b’.