Hidden Markov Model (HMM)
Shark Smell Optimization Algorithm is population based Metaheuristic optimization algorithm. Shark Smell Optimization Algorithm is inspired by the Shark food foraging behavior.
Shark Smell Optimization Algorithm Steps:
STEP 01: Initial Important Parameters.
Current_Iteration =1;
Maximum_Iteration = 10;
and other.
STEP 02: Initial Population Randomly.
Suppose, Population Size = 2;
Position(1) = -0.9891
Position(2) = -8.3236
STEP 03: Using Fitness Function Calculate Fitness Values.
Fitness(1) = 0.97845
Fitness(2) = 69.2819
Global Best = 0.97845
STEP 04: Calculate Shark's Velocity.
NOTE: At 1st Iteration, you can either neglect initial velocity or assign very small value.
For this Check IF (Current_Iteration ==1){
Initialize Velocity.}
Else{
Modify Velocity.
End
Right Now as iteration is 1.
Velocity(1) = 0;
Velocity(2) = 0;
STEP 05: Calculate Shark Movement in the search space.
Update Position for 1st Agent
a.) Calculate Shark Forward Movement for 1st Agent.
New Position (1) = Previous Position + Previous Velocity * Current Iteration
New Position (1) = (-0.9891) + 0 * 1;
New Position (1) = -0.9291
New Fitness (1) = 0.8632
b.) Calculate Shark Rotational Movement for 1st Agent.
Update Position for 2nd Agent
a.) Calculate Shark Forward Movement for 2nd Agent.
New Position (2) = Previous Position + Previous Velocity * Current Iteration
New Position (2) = (-8.32361) + 0 * 1;
New Position (2) = -8.3261
New Fitness (2) = 69.2823
b.) Calculate Shark Rotational Movement for 2nd Agent.
STEP 06: Update Sharks Position based on Forward and Rotational Movement.
For 1st Agent:
New Position(1) = max { 0.8632, 2.7433} //Check max value (i.e., 0.8632)
New Fitness (1) = 2.7433
For 2nd Agent:
New Position(2) = max {69.2823, 31.5015} //Check max value (i.e., 69.2823)
New Position (2) = -8.3261
New Fitness (2) = 69.2823
STEP 07: Increment Iteration Counter.
Current_Iteration = Current_Iteration + 1;
Current_Iteration = 1+1;
Current_Iteration = 2.
NOTE: Repeat The Loop until Stopping Criteria Met.
STEP 08: Display Best Solution Found.
First Iteration, Best Solution: 69.2823
The best position of shark is the Last Iteration that has the maximum Fitness value (for Maximization problems) is considered as the the BEST SOLUTION.
what the numerical objective function here
ReplyDeleteSphere function
Delete