psuedocode for my program using GA and PSO is it possible?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Particle Swarm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!