Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki -- 1159 2022-10-27 01:43:00

Video Upload Options

We provide professional Video Production Services to translate complex research into visually appealing presentations. Would you like to try it?

Confirm

Are you sure to Delete?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. Flocking (Behavior). Encyclopedia. Available online: https://encyclopedia.pub/entry/31629 (accessed on 17 November 2024).
HandWiki. Flocking (Behavior). Encyclopedia. Available at: https://encyclopedia.pub/entry/31629. Accessed November 17, 2024.
HandWiki. "Flocking (Behavior)" Encyclopedia, https://encyclopedia.pub/entry/31629 (accessed November 17, 2024).
HandWiki. (2022, October 27). Flocking (Behavior). In Encyclopedia. https://encyclopedia.pub/entry/31629
HandWiki. "Flocking (Behavior)." Encyclopedia. Web. 27 October, 2022.
Flocking (Behavior)
Edit

thumb|200px|right|A swarm-like flock of starlings 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. During the winter months, Starlings 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. Computer simulations and mathematical models which have been developed to emulate the flocking behaviors of birds can also generally be applied 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 by a group 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 simulated on a computer in 1987 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.

mathematical models simulation animal behavior

1. Flocking Rules

Basic models of flocking behavior are controlled by three simple rules:

  1. Separation - avoid crowding neighbours (short range repulsion)
  2. Alignment - steer towards average heading of neighbours
  3. 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.

The basic model has been extended in several different ways since Reynolds proposed it. For instance, Delgado-Mata et al. [1] 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 [2] 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 [3] used attraction, alignment and avoidance and extended this with a number 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 real starlings); third, 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; 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.

2. Measurement

Measurements of bird flocking have been made[4] 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.

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.[5][6][7][8]

3. Algorithmic 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 [math]\displaystyle{ O(n^2) }[/math] - each bird searches through all other birds to find those which fall into its environment.

Possible improvements:

  • bin-lattice 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: [math]\displaystyle{ O(n k) }[/math], k is number of surrounding bins to consider; just when bird's bin is found in [math]\displaystyle{ O(1) }[/math]

Lee Spector, Jon Klein, Chris Perry and Mark Feinstein studied the emergence of collective behavior in evolutionary computation systems.[9]

Bernard Chazelle 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.[10] 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.

4. Applications

Flock-like behavior in humans may occur when people are drawn to a common focal point or when repelled, as below: a crowd fleeing from the sound of gunfire.
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.[11]

Flocking has also been considered as a means of controlling the behavior of Unmanned Air Vehicles (UAVs).[12]

Flocking is a common technology in screensavers, and has found its use in animation. Flocking has been used in many films[13] to generate crowds which move more realistically. Tim Burton's Batman Returns (1992) featured flocking bats, and Disney's The Lion King (1994) included a wildebeest stampede.

Flocking behaviour has been used for other interesting applications. It has been applied to automatically program Internet multi-channel radio stations.[14] It has also been used for visualizing information[15] and for optimization tasks.[16]

References

  1. "On the use of Virtual Animals with Artificial Fear in Virtual Environments". New Generation Computing 25 (2): 145–169. 2007. doi:10.1007/s00354-007-0009-5.  https://dx.doi.org/10.1007%2Fs00354-007-0009-5
  2. "Autonomous boids". Computer Animation and Virtual Worlds 17 (3–4): 199–206. 2006. doi:10.1002/cav.123.  https://dx.doi.org/10.1002%2Fcav.123
  3. Hemelrijk, C. K.; Hildenbrandt, H. (2011). "Some Causes of the Variable Shape of Flocks of Birds". PLOS ONE 6 (8): e22479. doi:10.1371/journal.pone.0022479. PMID 21829627. Bibcode: 2011PLoSO...622479H.  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid=3150374
  4. Feder, Toni (October 2007). "Statistical physics is for the birds". Physics Today 60 (10): 28–30. doi:10.1063/1.2800090.  https://dx.doi.org/10.1063%2F1.2800090
  5. Hildenbrandt, H; Carere, C; Hemelrijk, CK (2010). "Self-organized aerial displays of thousands of starlings: a model". Behavioral Ecology 21 (6): 1349–1359. doi:10.1093/beheco/arq149. http://beheco.oxfordjournals.org/content/21/6/1349.full. 
  6. Hemelrijk, CK; Hildenbrandt, H (2011). "Some causes of the variable shape of flocks of birds". PLOS ONE 6 (8): e22479. doi:10.1371/journal.pone.0022479. PMID 21829627. Bibcode: 2011PLoSO...622479H.  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid=3150374
  7. Project Starflag http://www.rug.nl/sciencelinx/exhibits/swarming/index
  8. Swarm behaviour model by University of Groningen http://www.rug.nl/fmns-research/beso/_people/hemelrijk
  9. Spector, L.; Klein, J. (2003). "Emergence of Collective Behavior in Evolving Populations of Flying Agents". Proceedings of the Genetic and Evolutionary Computation Conference (GECCO-2003). Springer-Verlag. http://hampshire.edu/lspector/gecco2003-collective.html. Retrieved 2007-05-01. 
  10. Bernard Chazelle, The Convergence of Bird Flocking, J. ACM 61 (2014)
  11. "http://psychcentral.com/news/2008/02/15/herd-mentality-explained/1922.html". Retrieved on October 31st 2008.
  12. Senanayake, M., Senthooran, I., Barca, J. C., Chung, H., Kamruzzaman, J., & Murshed, M. "Search and tracking algorithms for swarms of robots: A survey." http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.714.6323&rep=rep1&type=pdf
  13. Gabbai, J. M. E. (2005). Complexity and the Aerospace Industry: Understanding Emergence by Relating Structure to Performance using Multi-Agent Systems. Manchester: University of Manchester Doctoral Thesis. http://www.gabbai.com/academic/complexity-and-the-aerospace-industry-understanding-emergence-by-relating-structure-to-performance-using-multi-agent-systems/. 
  14. "DJ-boids: emergent collective behavior as multichannel radio station programming". Proceedings of the 8th international conference on Intelligent User Interfaces. 2003. pp. 248–250. doi:10.1145/604045.604089.  https://dx.doi.org/10.1145%2F604045.604089
  15. Moere A V (2004). "Time-Varying Data Visualization Using Information Flocking Boids". Proceedings of the IEEE Symposium on Information Visualization. pp. 97–104. doi:10.1109/INFVIS.2004.65. http://vis.computer.org/vis2004/DVD/infovis/papers/moere.pdf. 
  16. "Boid particle swarm optimisation". International Journal of Innovative Computing and Applications 2 (2): 77–85. 2009. doi:10.1504/IJICA.2009.031778.  https://dx.doi.org/10.1504%2FIJICA.2009.031778
More
Information
Subjects: Others
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 1.1K
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 27 Oct 2022
1000/1000
ScholarVision Creations