Description: Mainly divided into three functions. The first function for the particle swarm initialization function InitSwarm (SwarmSize. ..... AdaptFunc) whose primary role is to initialize the particle swarm of particles, and set the speed of particles, location in a certain range.
File list (Check if you may need any files):