Sorting using pso

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 comentarios

Walter Roberson
Walter Roberson el 2 de Feb. de 2012
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 el 2 de Feb. de 2012
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

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 2 de Feb. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by