ALGORITHM FOR PSO:
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
project report helper
Active In SP
**

Posts: 2,270
Joined: Sep 2010
#1
12-10-2010, 04:08 PM




ALGORITHM FOR PSO:

ALGORITHM FOR PSO:

For each particle
Initialize particle
END

Do
For each particle
Calculate fitness value
If the fitness value is better than the best fitness value (pBest) in history
set current value as the new pBest
End

Choose the particle with the best fitness value of all the particles as the gBest
For each particle
Calculate particle velocity
Update particle position
End
While maximum iterations or minimum error criteria is not attained
First we have to randomly assign the number of particles
Velocity of the particle is nothing but the speed of the particle to achieve the pBest and gBest.
In this pBest is the personal best that a particle has achieved and the values will be compared between previous iteration and current iteration and the best one will be updated.
gBest is the global best. It means all the values of personal best are compared and the best one is taken as the global best
Till we get the optimized result we have to run the loop and adjust the values.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page

Quick Reply
Message
Type your reply to this message here.


Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)