Please help me to do free search krill herd algorithm in Matlab. I have the algorithm but not able to write the source code by using matlab. its urgent me to do please somebody help me to do it.

1 visualizzazione (ultimi 30 giorni)
Begin
Initialization. Set the generation counter ???? = 1; set the foraging speed ??, maximum diffusion speed ?max,
and the maximum induced speed ?max;
Generate uniformly distributed random population ?0;
Opposition-based population initialization
For ? = 1 to NP do
For ? = 1 to NK do
??
?,? = ?min,? + (?max,? −??,?);
End For
End For
Select the NP fittest individuals from {?0 ∪ ?? 0 } as initial population.
Fitness evaluation. Evaluate each krill individual according to its position.
While the termination criterion is not satisfied or ???? < ??????? Generation do
Sort the population/krill from best to worst.
For ? = 1 : NP (all krill) do
Perform the following motion calculation.
Motion induced by other individuals
Foraging motion
Free search operation
While (? ≤ ?)
Take exploration walks
Modification strategy
EndWhile
Update the krill individual position in the search space.
Evaluate each krill individual according to its new position.
End For
Sort the population/krill from best to worst and find the current best.
???? = ???? + 1.
EndWhile
Post-processing the results and visualization.
End
This is the algorithm II want to code it by using MATLAB 2016a. Please help me to simulate and implement it.

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by