|
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
Flocking - the collective motion of a large number of self-propelled entities - is a behaviour exhibited by many living beings such as birds, fish, bacteria, and insects1. As a common demonstration of emergence and emergent behavior, it was first simulated on a computer in 1986 by Craig Reynolds with his simulation program, Boids. This program simulates simple agents 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.
Two flocks of Common Cranes
Basic flocking is controlled by three simple rules:
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. Flocking is a common technology in screensavers, and has found its use in animation. Flocking has been used in many films (Gabbai 2005) to generate crowds which move more realistically. Tim Burton's Batman Returns (1992) featured flocking penguins, and Disney's The Lion King (1994) included a wildebeest stampede. From a practical perspective, flocking has been considered as a means to control the behavior of Unmanned Air Vehicles (UAVs) (Gabbai 2005). In Köln 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 a one person was designated as a predator and everyone else was to avoid him, the flock behaved very much like a school of fish.2
MeasurementMeasurements of bird flocking have been made (Feder 2007) 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. Algorithmic complexityIn 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 O(n2) - each bird searches through all other birds to find those who falls into his environment. Possible improvements:
Lee Spector, Jon Klein, Chris Perry and Mark Feinstein studied the emergence of collective behavior in evolutionary computation systems.3 References
External linksWikimedia Commons has media related to:
|
| Smutne • Stoch • Strona • Grzyby • Narzędzia rolnicze • dalmierze • Adela • Balbina • Berenika • Agnieszka • Aleksandra • Anastazja • Blanka • Bożena • Czesława All Right Reserved © 2007, Designed by Stylish Blog. |