Sorting using pso

5 次查看(过去 30 天)
kash
kash 2012-2-2
I have a values from 1 to 80 which are randomly places,no wi want to apply an PSO algorithm,such that a values can be sorted,is it possible to apply PSO for this,please suggest an idea
  2 个评论
Walter Roberson
Walter Roberson 2012-2-2
This is perhaps possible. First, though, you will need to define a way to measure how un-sorted a trial solution is, so that the PSO algorithm can head towards "more sorted".
kash
kash 2012-2-2
i dont know what u mean by how un-sorted a trial solution is,in tat i want to calculate g best ,pbest,fitness etc

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Particle Swarm 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by