Methods | Statistics | Clinical | Educational | Industrial | Professional items | World psychology |
Flocking behavior is the behavior exhibited when a group of birds, called a flock, are foraging or in flight. There are parallels with the shoaling behavior of fish, the swarming behavior of insects, and herd behavior of land animals.
Computer simulations and mathematical models which have been developed to emulate the flocking behaviors of birds can generally be applied also to the "flocking" behavior of other species. As a result, the term "flocking" is sometimes applied, in computer science, to species other than birds.
This article is about the modelling of flocking behavior. From the perspective of the mathematical modeller, "flocking" is the collective motion of a large number of self-propelled entities and is a collective animal behavior exhibited by many living beings such as birds, fish, bacteria, and insects. It is considered an emergent behavior arising from simple rules that are followed by individuals and does not involve any central coordination.
Flocking behavior was first simulated on a computer in 1986 by Craig Reynolds with his simulation program, Boids. This program simulates simple agents (boids) that are allowed to move according to a set of basic rules. The result is akin to a flock of birds, a school of fish, or a swarm of insects.
Basic models of flocking behavior are controlled by three simple rules:
- Separation - avoid crowding neighbors (short range repulsion)
- Alignment - steer towards average heading of neighbors
- Cohesion - steer towards average position of neighbors (long range attraction)
With these three simple rules, the flock moves in an extremely realistic way, creating complex motion and interaction that would be extremely hard to create otherwise.
The basic model has been extended in several different ways since Reynolds proposed it. For instance, Delgado-Mata et al.  extended the basic model to incorporate the effects of fear. Olfaction was used to transmit emotion between animals, through pheromones modelled as particles in a free expansion gas. Hartman and Benes  introduced a complementary force to the alignment that they call the change of leadership. This steer deﬁnes the chance of the boid to become a leader and try to escape. Hemerlijk and Hildenbrandt  used attraction, alignment and avoidance and extended this with a numbet of traits of real starlings: first, birds fly according to fixed wing aerodynamics, while rolling when turning (thus losing lift), second they coordinate with a limited number of interaction neighbours of 7 (like in real starlings), third, they try to stay above a sleeping site (like starlings do at dawn) and when they happen to move outwards the sleeping site, they return to it by turning, fourth, they move at relative fixed speed. The authors showed that the specifics of flying behaviour as well as large flocksize and low number of interaction partners were essential to the creation of the variable shape of flocks of starlings.
Measurements of bird flocking have been made using high-speed cameras, and a computer analysis has been made to test the simple rules of flocking mentioned above. It is found that they generally hold true in the case of bird flocking, but the long range attraction rule (cohesion) applies to the nearest 5-10 neighbors of the flocking bird and is independent of the distance of these neighbors from the bird. In addition, there is an anisotropy with regard to this cohesive tendency, with more cohesion being exhibited towards neighbors to the sides of the bird, rather than in front or behind. This is no doubt due to the field of vision of the flying bird being directed to the sides rather than directly forward or backward.
In flocking simulations, there is no central control; each bird behaves autonomously. In other words, each bird has to decide for itself which flocks to consider as its environment. Usually environment is defined as a circle (2D) or sphere (3D) with a certain radius (representing reach).
A basic implementation of a flocking algorithm has complexity - each bird searches through all other birds to find those who falls into his environment.
- bin-lattice spatial subdivision. Entire area the flock can move in is divided into a large number of bins. Each bin stores which birds it contains. Each time a bird moves from one bin to another, lattice has to be updated.
- Example: 2D(3D) grid in a 2D(3D) flocking simulation.
- Complexity: , k is number of surrounding bins to consider; just when bird's bin is found in
Lee Spector, Jon Klein, Chris Perry and Mark Feinstein studied the emergence of collective behavior in evolutionary computation systems.
In Cologne, Germany, two biologists from the University of Leeds demonstrated a flock like behavior in humans. The group of people exhibited a very similar behavioral pattern to that of a flock, where if 5% of the flock would change direction the others would follow suit. When one person was designated as a predator and everyone else was to avoid him, the flock behaved very much like a school of fish.
- ↑ Alternating steady state in one-dimensional flocking. Journal of Physics A.
- ↑ Delgado-Mata C, Ibanez J, Bee S, et al. (2007). On the use of Virtual Animals with Artificial Fear in Virtual Environments. New Generation Computing 25 (2): 145–169.
- ↑ Hartman C, Benes B (2006). Autonomous boids. Computer Animation and Virtual Worlds 17 (3-4): 199–206.
- ↑ Hemelrijk, C. K., Hildenbrandt, H. (2011). Some Causes of the Variable Shape of Flocks of Birds. PLoS ONE 6 (8).
- ↑ Feder, Toni (October 2007). Statistical physics is for the birds. Physics today 60 (10): 28–30.
- ↑ Spector, L., Klein, J.; Perry, C.; and Feinstein, M. (2003). Emergence of Collective Behavior in Evolving Populations of Flying Agents. Proceedings of the Genetic and Evolutionary Computation Conference (GECCO-2003). Springer-Verlag. URL accessed on 2007-05-01.
- ↑ "http://psychcentral.com/news/2008/02/15/herd-mentality-explained/1922.html". Retrieved on October 31st 2008.
- Cucker, Felipe, Steve Smale (2007). The Mathematics of Emergence. The Japanese Journal of Mathematics 2: 197.
- Shen, Jackie (Jianhong) (2008). Cucker–Smale Flocking under Hierarchical Leadership. SIAM J. Applied Math. 68 (3): 694.
- Craig Reynolds' Boids page
- Iztok Lebar Bajec's fuzzy logic based flocking publications
- page on flocking maintained by T. Vicsek
- Flocking Simulator - A flocking behavior simulator in Java. Run online or free download. Includes multiple flocks, predators, obstacles and food.
- Another Flocking Simulator - A simple flocking applet which lets you control a number of parameters to create flocks that behave like birds, insects, bacteria, etc.
- NetLogo, a free software for multi-agent modeling, simulation, and the like, including a flocking simulation.
- VisualBots - Freeware multi-agent simulator in Microsoft Excel - Visual Basic syntax
- 3D Java Boids demonstrating bird flocking (Paul Richmond)
|This page uses Creative Commons Licensed content from Wikipedia (view authors).|