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

조회 수: 1 (최근 30일)
Arunachalam  D
Arunachalam D 2015년 4월 10일
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개)

카테고리

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