HOME

TheInfoList



OR:

Flocking is the behaviour exhibited when a group of birds, called a flock, are
foraging Foraging is searching for wild food resources. It affects an animal's fitness because it plays an important role in an animal's ability to survive and reproduce. Foraging theory is a branch of behavioral ecology that studies the foraging behavi ...
or in flight. Computer simulations and mathematical models that have been developed to emulate the flocking behaviours of birds can also generally be applied to the "flocking" behaviour 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 behaviour. From the perspective of the mathematical modeller, "flocking" is the collective motion by a group of self-propelled entities and is a
collective animal behaviour Collective animal behaviour is a form of social behavior involving the coordinated behavior of large groups of similar animals as well as emergent properties of these groups. This can include the costs and benefits of group membership, the tra ...
exhibited by many living beings such as
bird Birds are a group of warm-blooded vertebrates constituting the class Aves (), characterised by feathers, toothless beaked jaws, the laying of hard-shelled eggs, a high metabolic rate, a four-chambered heart, and a strong yet lightweig ...
s,
fish Fish are Aquatic animal, aquatic, craniate, gill-bearing animals that lack Limb (anatomy), limbs with Digit (anatomy), digits. Included in this definition are the living hagfish, lampreys, and Chondrichthyes, cartilaginous and bony fish as we ...
,
bacteria Bacteria (; singular: bacterium) are ubiquitous, mostly free-living organisms often consisting of one biological cell. They constitute a large domain of prokaryotic microorganisms. Typically a few micrometres in length, bacteria were am ...
, and
insect Insects (from Latin ') are pancrustacean hexapod invertebrates of the class Insecta. They are the largest group within the arthropod phylum. Insects have a chitinous exoskeleton, a three-part body ( head, thorax and abdomen), three pa ...
s. It is considered an emergent behaviour arising from simple rules that are followed by individuals and does not involve any central coordination.


In nature

There are parallels with the
shoaling In biology, any group of fish that stay together for social reasons are shoaling, and if the group is swimming in the same direction in a coordinated manner, they are schooling. In common usage, the terms are sometimes used rather loosely. Ab ...
behaviour of fish, the
swarm Swarm behaviour, or swarming, is a collective behaviour exhibited by entities, particularly animals, of similar size which aggregate together, perhaps milling about the same spot or perhaps moving ''en masse'' or migrating in some direction. ...
ing behaviour of insects, and
herd behaviour Herd behavior is the behavior of individuals in a group acting collectively without centralized direction. Herd behavior occurs in animals in herds, packs, bird flocks, fish schools and so on, as well as in humans. Voting, demonstrations, riot ...
of land animals. During the winter months,
starling Starlings are small to medium-sized passerine birds in the family Sturnidae. The Sturnidae are named for the genus '' Sturnus'', which in turn comes from the Latin word for starling, ''sturnus''. Many Asian species, particularly the larger ones, ...
s are known for aggregating into huge flocks of hundreds to thousands of individuals, murmurations, which when they take flight altogether, render large displays of intriguing swirling patterns in the skies above observers. Flocking behaviour was simulated on a computer in 1987 by Craig Reynolds with his simulation program,
Boids Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds. His paper on this topic was published in 1987 in the proceedings of the ACM SIGGRAPH conference. The name "boid" corre ...
. 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
bird Birds are a group of warm-blooded vertebrates constituting the class Aves (), characterised by feathers, toothless beaked jaws, the laying of hard-shelled eggs, a high metabolic rate, a four-chambered heart, and a strong yet lightweig ...
s, a
school A school is an educational institution designed to provide learning spaces and learning environments for the teaching of students under the direction of teachers. Most countries have systems of formal education, which is sometimes co ...
of
fish Fish are Aquatic animal, aquatic, craniate, gill-bearing animals that lack Limb (anatomy), limbs with Digit (anatomy), digits. Included in this definition are the living hagfish, lampreys, and Chondrichthyes, cartilaginous and bony fish as we ...
, or a
swarm Swarm behaviour, or swarming, is a collective behaviour exhibited by entities, particularly animals, of similar size which aggregate together, perhaps milling about the same spot or perhaps moving ''en masse'' or migrating in some direction. ...
of
insects Insects (from Latin ') are pancrustacean hexapod invertebrates of the class Insecta. They are the largest group within the arthropod phylum. Insects have a chitinous exoskeleton, a three-part body (head, thorax and abdomen), three pairs of j ...
.


Measurement

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 Anisotropy () is the property of a material which allows it to change or assume different properties in different directions, as opposed to isotropy. It can be defined as a difference, when measured along different axes, in a material's physic ...
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 likely due to the field of vision of the flying bird being directed to the sides rather than directly forward or backward. Another recent study is based on an analysis of high speed camera footage of flocks above Rome, and uses a computer model assuming minimal behavioural rules.


Algorithm


Rules

Basic models of flocking behaviour are controlled by three simple rules: ;Separation :Avoid crowding neighbours (short range repulsion) ;Alignment :Steer towards average heading of neighbours ;Cohesion :Steer towards average position of neighbours (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.


Rule variants

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 defines the chance of the bird to become a leader and try to escape. Hemelrijk and Hildenbrandt used attraction, alignment, and avoidance, and extended this with a number of traits of real starlings: * birds fly according to fixed wing aerodynamics, while rolling when turning (thus losing lift); * they coordinate with a limited number of interaction neighbours of 7 (like real starlings); * they try to stay above a sleeping site (like starlings do at dawn), and when they happen to move outwards from the sleeping site, they return to it by turning; and * fourth, they move at relative fixed speed. The authors showed that the specifics of flying behaviour as well as large flock size and low number of interaction partners were essential to the creation of the variable shape of flocks of starlings.


Complexity

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 O(n^2) – each bird searches through all other birds to find those which fall into its environment. Possible improvements: * bin-
lattice Lattice may refer to: Arts and design * Latticework, an ornamental criss-crossed framework, an arrangement of crossing laths or other thin strips of material * Lattice (music), an organized grid model of pitch ratios * Lattice (pastry), an orna ...
spatial subdivision. The entire area the flock can move in is divided into multiple 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: O(n k), k is number of surrounding bins to consider; just when bird's bin is found in O(1) Lee Spector, Jon Klein, Chris Perry and
Mark Feinstein Mark Feinstein is a linguist and professor emeritus of linguistics at Hampshire College. He is known for his works on phonology and evolution of language The origin of language (spoken and signed, as well as language-related technological ...
studied the emergence of collective behaviour in evolutionary computation systems.
Bernard Chazelle Bernard Chazelle (born November 5, 1955) is a French-American computer scientist. He is currently the Eugene Higgins Professor of Computer Science at Princeton University. Much of his work is in computational geometry, where he is known for hi ...
proved that under the assumption that each bird adjusts its velocity and position to the other birds within a fixed radius, the time it takes to converge to a steady state is an iterated exponential of height logarithmic in the number of birds. This means that if the number of birds is large enough, the convergence time will be so great that it might as well be infinite. This result applies only to convergence to a steady state. For example, arrows fired into the air at the edge of a flock will cause the whole flock to react more rapidly than can be explained by interactions with neighbors, which are slowed down by the time delay in the bird's central nervous systems—bird-to-bird-to-bird.


Applications

In Cologne, Germany, two biologists from the University of Leeds demonstrated a flock-like behaviour in humans. The group of people exhibited a very similar behavioural 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. Flocking has also been considered as a means of controlling the behaviour of Unmanned Air Vehicles (UAVs). Flocking is a common technology in
screensaver A screensaver (or screen saver) is a computer program that blanks the display screen or fills it with moving images or patterns when the computer has been idle for a designated time. The original purpose of screensavers was to prevent phosphor ...
s, and has found its use in animation. Flocking has been used in many films to generate crowds which move more realistically.
Tim Burton Timothy Walter Burton (born August 25, 1958) is an American filmmaker and animator. He is known for his gothic fantasy and horror films such as '' Beetlejuice'' (1988), '' Edward Scissorhands'' (1990), '' The Nightmare Before Christmas'' (1993 ...
's ''
Batman Returns ''Batman Returns'' is a 1992 American superhero film directed by Tim Burton and written by Daniel Waters. Based on the DC Comics character Batman, it is the sequel to ''Batman'' (1989) and the second installment in the 1989–1997 ''Batman ...
'' (1992) featured flocking bats. Flocking behaviour has been used for other interesting applications. It has been applied to automatically program Internet multi-channel radio stations. It has also been used for visualizing information and for optimization tasks.


See also

*
Crowd Generally speaking, a crowd is defined as a group of people that have gathered for a common purpose or intent such as at a demonstration, a sports event, or during looting (this is known as an acting crowd), or may simply be made up of many ...


References


Other sources

* * * * *


External links


Craig Reynolds' Boids pageMurmurations of starlings (BBC videos)Drone flight captures Norfolk starlings murmuration (BBC videos)
{{DEFAULTSORT:Flocking (Behaviour) Bird flight Group processes