Research Article
A Hybrid Pathfinder Optimizer for Unconstrained and Constrained Optimization Problems
Algorithm 2
Pseudocode of fitness calculation.
| Decode to cluster centers following equation (12) | | Calculate Euclidean distance between all data objects and clustering centers following equation (10) | | Distribute the data to the nearest clustering center | | Calculate the total within-cluster variance following equation (9) | | Return fitness |
|