7 Swarm intelligence: Particles

This chapter covers

  • Understanding the inspiration for particle swarm intelligence algorithms

  • Understanding and solving optimization problems

  • Designing and implementing a particle swarm optimization algorithm

What is particle swarm optimization?

Particle swarm optimization is another swarm algorithm. Swarm intelligence relies on emergent behavior of many individuals to solve difficult problems as a collective. We saw in chapter 6 how ants can find the shortest paths between destinations through their use of pheromones.

Bird flocks are another ideal example of swarm intelligence in nature. When a single bird is flying, it might attempt several maneuvers and techniques to preserve energy, such as jumping ...

Get Grokking Artificial Intelligence Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.