Borrar filtros
Borrar filtros

psuedocode for my program using GA and PSO is it possible?

5 visualizaciones (últimos 30 días)
Arunachalam  D
Arunachalam D el 10 de Abr. de 2015
Step 1: select h value [2 4] with ga (how to write objective fn for this random selection of h vlaues during every iteration till we get optimized cost)
step 2: Select tau value [6 100] with ga (how to write objective fn for this random selection of tau vlaues)
step 3: select n value [3 4] with ga (how to write objective fn for this random selection of n vlaues)
step 4: select k value [0.25 3] with pso (how to write objective fn for this random selection of k vlaues)
step 5: vector x=[h tau n k]
step 6: calculate fitness value (cost function) save vector x (here any algorithm ga or pso can be used to optimize. i have objective function for this..)
step 7: goto step 1-step5 select new x vector and optimize the cost function

Respuestas (0)

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by