400 likes | 516 Views
Swarm simulation using anti-Newtonian forces. Vladimir Zhdankin Chaos and Complex Systems October 6, 2009. Outline. Nature Overview of observed swarming Computer simulation Swarming model Selected cases No predator Single predator Multiple predators Black sheep Conclusions.
E N D
Swarm simulationusing anti-Newtonian forces Vladimir Zhdankin Chaos and Complex Systems October 6, 2009
Outline • Nature • Overview of observed swarming • Computer simulation • Swarming model • Selected cases • No predator • Single predator • Multiple predators • Black sheep • Conclusions
Swarming in nature • Birds flocks • Fish schools • Insect swarms • Mammal herds • Human crowds
Why swarm? • Defense from predators • Confuses predator • Improves perception • Lowers predator success rate • Foraging • Mating • Navigation
Predator options • Form hunting packs • Divert a prey away from swarm and catch • Spread and surround the swarm • Lead swarm into a trap
How does swarming happen? • Emergence • Organization arises from repetition of simple actions • Each individual makes some decisions • Chooses optimal distance from neighbors • Aligns with neighbors • Reacts to obstacles
Simulation • Model each member as a particle (“agent”) • Model landscape as Cartesian plane • Implement force laws • Long range attraction • Short range repulsion • Friction • Anti-Newtonian force between predator and prey
Anti-Newtonian force • Term coined by Clint Sprott • Disobeys Newton’s Third Law • Newtonian forces are equal in magnitude and opposite in direction • Anti-Newtonian forces are equal in magnitude and equal in direction
N-body anti-Newtonian problem • With more bodies, simplest choice is to have no force between similar agents • For swarming, can add Newtonian forces • Attractive force between rabbits is natural • Force between foxes is not as obvious • Attraction to form hunting packs? • Repulsion to spread and surround rabbits? • No interaction at all?
Equations of motion Can adjust to give predator repulsion instead of attraction
Equation parameters • Agent parameters: • Mass m • Coefficient of friction b • Priority p (scales force toward agent) • Force parameters: • Long-range force power γ • Short-range repulsion power α • Usually γ = -1 and α = -2 works best
Notes on trivial case • Uninteresting approximation of nature • For complexity, add other terms: • External potential • Self-propulsion • Noise • Or, introduce a predator…
A black sheep • One swarm agent may have handicaps • Injured, sick, or weak in nature • Higher mass, friction, or priority in simulation • In nature, predators target these prey • Will it happen in simulation?
Emergence in simulation • Swarming maneuvers • Unified motion (away from predators) • Splitting to confuse predators • Predator actions • Diverting one agent away from swarm • Capturing the black sheep • All of these come about from using the anti-Newtonian force
Conclusions • Swarming behavior can be approximated by modeling swarm members as particles that obey simple force laws • The anti-Newtonian force plays a critical role in the swarm dynamics • Emergence is responsible for part of Nature’s complexity
Acknowledgements Clint Sprott
References • Images of swarms in nature are from National Geographic: • http://photography.nationalgeographic.com/