The swarm reaches a consensus through a "voting" mechanism where more scouts join the dance for the most promising locations until a quorum is reached.
Inspired by the foraging behavior of bees, researchers developed the Bee Swarm Optimization algorithm, a metaheuristic used to solve complex mathematical and logistical problems. Group Decision Making in Honey Bee Swarms Bee Swarm (Chocmoc)
When a colony outgrows its hive, a swarm of up to 10,000 bees will depart with the queen to find a new home. Scouts explore candidate cavities and communicate their findings via the waggle dance , indicating distance and direction. The swarm reaches a consensus through a "voting"