Simulation of the Flocking Behavior of Birds with the Boids Algorithm
Total Page:16
File Type:pdf, Size:1020Kb
Load more
										Recommended publications
									
								- 
												  Flocks and CrowdsFlocks and Crowds Flocks and crowds are other essential concepts we'll be exploring in this book. amount of realism to your simulation in just a few lines of code. Crowds can be a bit more complex, but we'll be exploring some of the powerful tools that come bundled with Unity to get the job done. In this chapter, we'll cover the following topics: Learning the history of flocks and herds Understanding the concepts behind flocks Flocking using the Unity concepts Flocking using the traditional algorithm Using realistic crowds the technology being the swarm of bats in Batman Returns in 1992, for which he won an and accurate, the algorithm is also very simple to understand and implement. [ 115 ] Understanding the concepts behind As with them to the real-life behaviors they model. As simple as it sounds, these concepts birds exhibit in nature, where a group of birds follow one another toward a common on the group. We've explored how singular agents can move and make decisions large groups of agents moving in unison while modeling unique movement in each Island. This demo came with Unity in Version 2.0, but has been removed since Unity 3.0. For our project. the way, you'll notice some differences and similarities, but there are three basic the algorithm's introduction in the 80s: Separation: This means to maintain a distance with other neighbors in the flock to avoid collision. The following diagram illustrates this concept: Here, the middle boid is shown moving in a direction away from the rest of the boids, without changing its heading [ 116 ] Alignment: This means to move in the same direction as the flock, and with the same velocity.
- 
												  AI, Robots, and Swarms: Issues, Questions, and Recommended StudiesAI, Robots, and Swarms Issues, Questions, and Recommended Studies Andrew Ilachinski January 2017 Approved for Public Release; Distribution Unlimited. This document contains the best opinion of CNA at the time of issue. It does not necessarily represent the opinion of the sponsor. Distribution Approved for Public Release; Distribution Unlimited. Specific authority: N00014-11-D-0323. Copies of this document can be obtained through the Defense Technical Information Center at www.dtic.mil or contact CNA Document Control and Distribution Section at 703-824-2123. Photography Credits: http://www.darpa.mil/DDM_Gallery/Small_Gremlins_Web.jpg; http://4810-presscdn-0-38.pagely.netdna-cdn.com/wp-content/uploads/2015/01/ Robotics.jpg; http://i.kinja-img.com/gawker-edia/image/upload/18kxb5jw3e01ujpg.jpg Approved by: January 2017 Dr. David A. Broyles Special Activities and Innovation Operations Evaluation Group Copyright © 2017 CNA Abstract The military is on the cusp of a major technological revolution, in which warfare is conducted by unmanned and increasingly autonomous weapon systems. However, unlike the last “sea change,” during the Cold War, when advanced technologies were developed primarily by the Department of Defense (DoD), the key technology enablers today are being developed mostly in the commercial world. This study looks at the state-of-the-art of AI, machine-learning, and robot technologies, and their potential future military implications for autonomous (and semi-autonomous) weapon systems. While no one can predict how AI will evolve or predict its impact on the development of military autonomous systems, it is possible to anticipate many of the conceptual, technical, and operational challenges that DoD will face as it increasingly turns to AI-based technologies.
- 
												  Swarm IntelligenceSwarm Intelligence Leen-Kiat Soh Computer Science & Engineering University of Nebraska Lincoln, NE 68588-0115 [email protected] http://www.cse.unl.edu/agents Introduction • Swarm intelligence was originally used in the context of cellular robotic systems to describe the self-organization of simple mechanical agents through nearest-neighbor interaction • It was later extended to include “any attempt to design algorithms or distributed problem-solving devices inspired by the collective behavior of social insect colonies and other animal societies” • This includes the behaviors of certain ants, honeybees, wasps, cockroaches, beetles, caterpillars, and termites Introduction 2 • Many aspects of the collective activities of social insects, such as ants, are self-organizing • Complex group behavior emerges from the interactions of individuals who exhibit simple behaviors by themselves: finding food and building a nest • Self-organization come about from interactions based entirely on local information • Local decisions, global coherence • Emergent behaviors, self-organization Videos • https://www.youtube.com/watch?v=dDsmbwOrHJs • https://www.youtube.com/watch?v=QbUPfMXXQIY • https://www.youtube.com/watch?v=M028vafB0l8 Why Not Centralized Approach? • Requires that each agent interacts with every other agent • Do not possess (environmental) obstacle avoidance capabilities • Lead to irregular fragmentation and/or collapse • Unbounded (externally predetermined) forces are used for collision avoidance • Do not possess distributed tracking (or migration)
- 
												  Individual Versus Collective Cognition in Social InsectsIndividual versus collective cognition in social insects Ofer Feinermanᴥ, Amos Kormanˠ ᴥ Department of Physics of Complex Systems, Weizmann Institute of Science, 7610001, Rehovot, Israel. Email: [email protected] ˠ Institut de Recherche en Informatique Fondamentale (IRIF), CNRS and University Paris Diderot, 75013, Paris, France. Email: [email protected] Abstract The concerted responses of eusocial insects to environmental stimuli are often referred to as collective cognition on the level of the colony.To achieve collective cognitiona group can draw on two different sources: individual cognitionand the connectivity between individuals.Computation in neural-networks, for example,is attributedmore tosophisticated communication schemes than to the complexity of individual neurons. The case of social insects, however, can be expected to differ. This is since individual insects are cognitively capable units that are often able to process information that is directly relevant at the level of the colony.Furthermore, involved communication patterns seem difficult to implement in a group of insects since these lack clear network structure.This review discusses links between the cognition of an individual insect and that of the colony. We provide examples for collective cognition whose sources span the full spectrum between amplification of individual insect cognition and emergent group-level processes. Introduction The individuals that make up a social insect colony are so tightly knit that they are often regarded as a single super-organism(Wilson and Hölldobler, 2009). This point of view seems to go far beyond a simple metaphor(Gillooly et al., 2010)and encompasses aspects of the colony that are analogous to cell differentiation(Emerson, 1939), metabolic rates(Hou et al., 2010; Waters et al., 2010), nutrient regulation(Behmer, 2009),thermoregulation(Jones, 2004; Starks et al., 2000), gas exchange(King et al., 2015), and more.
- 
												  Stigmergic Landmark ForagingStigmergic Landmark Foraging Nyree Lemmens Karl Tuyls Faculty of Humanities and Sciences, MICC, Faculty of Industrial Design, Eindhoven Maastricht University University of Technology P.O. Box 616, 6200 MD P.O. Box 513, 5600 MB Maastricht, The Netherlands Eindhoven, The Netherlands [email protected] [email protected] ABSTRACT through unfamiliar worlds. Instead, for navigation, they use a strat- In this paper, we describe a nature-inspired optimization algorithm egy named Path Integration (PI). Bees are able to compute their based on bee foraging behavior. This algorithm combines the high present location from their past trajectory continuously and, as a performance of bee path-integration navigation with ant-like stig- consequence, can return to their starting point by choosing the di- mergic behavior in the form of landmarks. More precisely, each rect route rather than retracing their outbound trajectory [15, 21]. individual landmark can be created at any walkable state in the For recruitment, bees employ a direct strategy by dancing in the environment and contains a collection of direction markers with nest. Their dance communicates distance and direction towards a which visiting agents can find their way in an unknown environ- destination [27]. ment. A landmark can either be represented by an agent or any In previous research, we introduced a foraging algorithm in- other information distributing object (e.g., a RFID). Essentially, we spired by bees and compared it to an Ant System [17]. Our compar- implement ant recruitment behavior based on pheromone. How- ison showed that the bee-inspired, non-pheromone-based algorithm ever, instead of using attracting or repelling pheromone in every clearly outperformed the ant-inspired, pheromone-based algorithm state of the environment, we only update directional information at in relatively unobstructed environments; more precisely, the bee al- key locations in the environment.
- 
												  Counter-Misdirection in Behavior-Based Multi-Robot Teams *Counter-Misdirection in Behavior-based Multi-robot Teams * Shengkang Chen, Graduate Student Member, IEEE and Ronald C. Arkin, Fellow, IEEE Abstract—When teams of mobile robots are tasked with misdirection approach using a novel type of behavior-based different goals in a competitive environment, misdirection and robot agents: counter-misdirection agents (CMAs). counter-misdirection can provide significant advantages. Researchers have studied different misdirection methods but the II. BACKGROUND number of approaches on counter-misdirection for multi-robot A. Robot Deception systems is still limited. In this work, a novel counter-misdirection approach for behavior-based multi-robot teams is developed by Robotic deception can be interpreted as robots using deploying a new type of agent: counter misdirection agents motions and communication to convey false information or (CMAs). These agents can detect the misdirection process and conceal true information [4],[5]. Deceptive behaviors can have “push back” the misdirected agents collaboratively to stop the a wide range of applications from military [6] to sports [7]. misdirection process. This approach has been implemented not only in simulation for various conditions, but also on a physical Researchers have studied robotic deception previously [4] robotic testbed to study its effectiveness. It shows that this through computational approaches [8] in a wide range of areas approach can stop the misdirection process effectively with a from human–robot interaction (HRI) [9]–[11] to ethical issues sufficient number of CMAs. This novel counter-misdirection [4]. Shim and Arkin [5] proposed a taxonomy of robot approach can potentially be applied to different competitive deception with three basic dimensions: interaction object, scenarios such as military and sports applications.
- 
												  Boids Algorithm in Economics and Finance a Lesson from Computational BiologyUniversity of Amsterdam Faculty of Economics and Business Master's thesis Boids Algorithm in Economics and Finance A Lesson from Computational Biology Author: Pavel Dvoˇr´ak Supervisor: Cars Hommes Second reader: Isabelle Salle Academic Year: 2013/2014 Declaration of Authorship The author hereby declares that he compiled this thesis independently, using only the listed resources and literature. The author also declares that he has not used this thesis to acquire another academic degree. The author grants permission to University of Amsterdam to reproduce and to distribute copies of this thesis document in whole or in part. Amsterdam, July 18, 2014 Signature Bibliographic entry Dvorˇak´ , P. (2014): \Boids Algorithm in Economics and Finance: A Les- son from Computational Biology." (Unpublished master's thesis). Uni- versity of Amsterdam. Supervisor: Cars Hommes. Abstract The main objective of this thesis is to introduce an ABM that would contribute to the existing ABM literature on modelling expectations and decision making of economic agents. We propose three different models that are based on the boids model, which was originally designed in biology to model flocking be- haviour of birds. We measure the performance of our models by their ability to replicate selected stylized facts of the financial markets, especially those of the stock returns: no autocorrelation, fat tails and negative skewness, non- Gaussian distribution, volatility clustering, and long-range dependence of the returns. We conclude that our boids-derived models can replicate most of the listed stylized facts but, in some cases, are more complicated than other peer ABMs. Nevertheless, the flexibility and spatial dimension of the boids model can be advantageous in economic modelling in other fields, namely in ecological or urban economics.
- 
												  Animating Predator and Prey Fish InteractionsGeorgia State University ScholarWorks @ Georgia State University Computer Science Dissertations Department of Computer Science 5-6-2019 Animating Predator and Prey Fish Interactions Sahithi Podila Follow this and additional works at: https://scholarworks.gsu.edu/cs_diss Recommended Citation Podila, Sahithi, "Animating Predator and Prey Fish Interactions." Dissertation, Georgia State University, 2019. https://scholarworks.gsu.edu/cs_diss/149 This Dissertation is brought to you for free and open access by the Department of Computer Science at ScholarWorks @ Georgia State University. It has been accepted for inclusion in Computer Science Dissertations by an authorized administrator of ScholarWorks @ Georgia State University. For more information, please contact [email protected]. ANIMATING PREDATOR AND PREY FISH INTERACTIONS by SAHITHI PODILA Under the Direction of Ying Zhu, PhD ABSTRACT Schooling behavior is one of the most salient social and group activities among fish. They form schools for social reasons like foraging, mating and escaping from predators. Animating a school of fish is difficult because they are large in number, often swim in distinctive patterns that is they take the shape of long thin lines, squares, ovals or amoeboid and exhibit complex coordinated patterns especially when they are attacked by a predator. Previous work in computer graphics has not provided satisfactory models to simulate the many distinctive interactions between a school of prey fish and their predator, how does a predator pick its target? and how does a school of fish react to such attacks? This dissertation presents a method to simulate interactions between prey fish and predator fish in the 3D world based on the biological research findings.
- 
												  Flocks, Herds, and Schools: a Distributed Behavioral Model 1Published in Computer Graphics, 21(4), July 1987, pp. 25-34. (ACM SIGGRAPH '87 Conference Proceedings, Anaheim, California, July 1987.) Flocks, Herds, and Schools: A Distributed Behavioral Model 1 Craig W. Reynolds Symbolics Graphics Division [obsolete addresses removed 2] Abstract The aggregate motion of a flock of birds, a herd of land animals, or a school of fish is a beautiful and familiar part of the natural world. But this type of complex motion is rarely seen in computer animation. This paper explores an approach based on simulation as an alternative to scripting the paths of each bird individually. The simulated flock is an elaboration of a particle system, with the simulated birds being the particles. The aggregate motion of the simulated flock is created by a distributed behavioral model much like that at work in a natural flock; the birds choose their own course. Each simulated bird is implemented as an independent actor that navigates according to its local perception of the dynamic environment, the laws of simulated physics that rule its motion, and a set of behaviors programmed into it by the "animator." The aggregate motion of the simulated flock is the result of the dense interaction of the relatively simple behaviors of the individual simulated birds. Categories and Subject Descriptors: 1.2.10 [Artificial Intelligence]: Vision and Scene Understanding; 1.3.5 [Computer Graphics]: Computational Geometry and Object Modeling; 1.3.7 [Computer Graphics]: Three Dimensional Graphics and Realism-Animation: 1.6.3 [Simulation and Modeling]: Applications. General Terms: Algorithms, design.b Additional Key Words, and Phrases: flock, herd, school, bird, fish, aggregate motion, particle system, actor, flight, behavioral animation, constraints, path planning.
- 
												  Expert Assessment of Stigmergy: a Report for the Department of National DefenceExpert Assessment of Stigmergy: A Report for the Department of National Defence Contract No. W7714-040899/003/SV File No. 011 sv.W7714-040899 Client Reference No.: W7714-4-0899 Requisition No. W7714-040899 Contact Info. Tony White Associate Professor School of Computer Science Room 5302 Herzberg Building Carleton University 1125 Colonel By Drive Ottawa, Ontario K1S 5B6 (Office) 613-520-2600 x2208 (Cell) 613-612-2708 [email protected] http://www.scs.carleton.ca/~arpwhite Expert Assessment of Stigmergy Abstract This report describes the current state of research in the area known as Swarm Intelligence. Swarm Intelligence relies upon stigmergic principles in order to solve complex problems using only simple agents. Swarm Intelligence has been receiving increasing attention over the last 10 years as a result of the acknowledgement of the success of social insect systems in solving complex problems without the need for central control or global information. In swarm- based problem solving, a solution emerges as a result of the collective action of the members of the swarm, often using principles of communication known as stigmergy. The individual behaviours of swarm members do not indicate the nature of the emergent collective behaviour and the solution process is generally very robust to the loss of individual swarm members. This report describes the general principles for swarm-based problem solving, the way in which stigmergy is employed, and presents a number of high level algorithms that have proven utility in solving hard optimization and control problems. Useful tools for the modelling and investigation of swarm-based systems are then briefly described.
- 
												  The Emergence of Animal Social ComplexityThe Emergence of Animal Social Complexity: theoretical and biobehavioral evidence Bradly Alicea Orthogonal Research (http://orthogonal-research.tumblr.com) Keywords: Social Complexity, Sociogenomics, Neuroendocrinology, Metastability AbstractAbstract ThisThis paper paper will will introduce introduce a a theorytheory ofof emergentemergent animalanimal socialsocial complexitycomplexity usingusing variousvarious results results from from computational computational models models andand empiricalempirical resultsresults.. TheseThese resultsresults willwill bebe organizedorganized into into a avertical vertical model model of of socialsocial complexity.complexity. ThisThis willwill supportsupport thethe perspperspectiveective thatthat social social complexity complexity is isin in essence essence an an emergent emergent phenomenon phenomenon while while helping helping to answerto answer of analysistwo interrelated larger than questions. the individual The first organism.of these involves The second how behavior involves is placingintegrated aggregate at units socialof analysis events larger into thethan context the individual of processes organism. occurring The secondwithin involvesindividual placing organi aggregatesms over timesocial (e.g. events genomic into the and context physiological of processes processes) occurring. withinBy using individual a complex organisms systems over perspective,time (e.g. fivegenomic principles and physiologicalof social complexity processes). can Bybe identified.using a complexThese principles systems
- 
												  Background on Swarms the Problem the Algorithm Tested On: BoidsAnomaly Detection in Swarm Robotics: What if a member is hacked? Dan Cronce, Dr. Andrew Williams, Dr. Debbie Perouli Background on Swarms The Problem Finding Absolute Positions of Others ● Swarm - a collection of homogeneous individuals who The messages broadcasted from each swarm member contain In swarm intelligence, each member locally contributes to the locally interact global behavior. If a member were to be maliciously positions from its odometry. However, we cannot trust the controlled, its behavior could be used to control a portion of member we’re monitoring, so we must have a another way of ● Swarm Intelligence - the collective behavior exhibited by the global behavior. This research attempts to determine how finding the position of the suspect. Our method is to find the a swarm one member can determine anomalous behavior in another. distance from three points using the signal strength of its WiFi However, a problem arises: and then using trilateration to determine its current position. Swarm intelligence algorithms enjoy many benefits such as If all we’re detecting is anomalous behavior, how do we tell the scalability and fault tolerance. However, in order to achieve difference between a fault and being hacked? these benefits, the algorithm should follow four rules: Experimental Setting From an outside perspective, we can’t tell if there’s a problem Currently, we have a large, empty space for the robots to roam. with the sensors, the motor, or whether the device is being ● Local interactions only - there cannot be a global store of We plan to set up devices to act as wifi trilateration servers, information or a central server to command the swarm manipulated.