• Refine Query
  • Source
  • Publication year
  • to
  • Language
  • 1
  • Tagged with
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • 1
  • About
  • The Global ETD Search service is a free service for researchers to find electronic theses and dissertations. This service is provided by the Networked Digital Library of Theses and Dissertations.
    Our metadata is collected from universities around the world. If you manage a university/consortium/country archive and want to be added, details can be found on the NDLTD website.
1

Topologica linteractions in a multi-layered flocking system / Topologiska interaktioner i ett flerskiktigt flockningssystem

Liedholm, Malin January 2023 (has links)
With the multi-layered flocking system it is possible to simulate flocks that contain different types of agents that can be of various different sizes (variations in bounding radius and height). In the original implementation, the multi-layered flocking system uses a metric distance to find the nearest-neighbours of agents. However, results from real life field studies suggest that animals interact with each other in a flock using a topological distance. The goal of this thesis is therefore to implement a version of the multi-layered flocking system that uses a topological distance for interaction between agents. This is done by adapting two methods that are used to find the k-nearest neighbours (kNN), namely the original spatial partitioning method (OSP method) and the enhanced spatial partitioning method (ESP method), to work with the multi-layered flocking system. The aim is to compare the performance of these methods in terms of query time for four different flocking scenarios (standard, obstacle, follow and steer away). The implementation contains two types of agents of two different sizes. In the standard scenario all agents move together as a flock. The obstacle scenario is similar to the standard scenario with the addition that the simulation space contains stationary obstacles. In the follow scenario the smaller sized agents follow the bigger sized agents, and in the steer away scenario the smaller sized agents steer away from the bigger sized agents. An evaluation of how different numbers of kNN affect the collective motion (polarization, extension and frequency of collisions) of the flock in the four different scenarios is also done. The evaluation was performed by implementing the multi-layered flocking system in the Unity game engine, and running simulations with flocks of different sizes (125-3125 agents) and using different numbers of interacting kNN (k=5,10,15,20) for each of the scenarios. The results show that the ESP method on average is at least twice as fast compared to the OSP method in all four flocking scenarios, and the improvement in performance in query time did not differ much between the scenarios. Moreover, a value of k=10 was shown to be a good compromise between having fast kNN query times for the ESP method, but still having flocks of agents moving in a collective manner. / Med ett flerskiktigt flockningssystem är det möjligt att simulera flockar som innehåller olika typer av agenter som kan vara av olika storlekar (variation i begränsningsradie och längd). I den ursprungliga implementeringen av det flerskiktigt flockningssystem används ett metriskt avstånd för att hitta de närmaste grannarna till agenterna. Resultat från fältstudier tyder dock på att i verkligheten interagerar djur i en flock med varandra genom ett topologiskt avstånd. Målet med denna avhandling är därför att implementera en version av det flerskiktigt flockningssystem som använder ett topologiskt avstånd för att hitta de närmaste grannarna till agenterna. Detta görs genom att anpassa två metoder som kan användas för att hitta en agents k-närmaste grannar till det flerskiktigt flockningssystem. Dessa två metoder kallas den ursprungliga spatiala partitioneringsmetoden (OSP metoden) och den förbättrade spatiala partitioneringsmetoden (ESP metoden). Syftet är att jämföra prestandan mellan dessa två metoder, vilket mäts i tid som det tar att hitta de k-närmaste grannarna för varje metod. Jämförelser genomförs för fyra olika typer av scenarion (standard, hinder, följ och styr ifrån). I standard scenariot rör sig alla agenter tillsammans som en flock. Hinder scenariot liknar standard scenariot med tillägget att simuleringsmiljön består av ett antal stationära hinder. I följ scenariot så följer de mindre agenterna de större agenterna, och i styr ifrån scenariot så försöker de mindre agenterna fly från de större agenterna. Vidare görs en utvärdering av hur olika antal k-närmaste grannar påverkar den totala flockens samlade rörelse (polarisering, förlängning och frekvens av kollisioner) för de olika scenarierna. Utvärderingen görs genom att implementera det flerskiktiga flockningssystemet med de ovan nämnda k-närmaste grannar metoderna i spelmotorn Unity. Ett flertal simuleringar genomförs sedan för de fyra scenarierna och dessa består av olika flockstorlekar (125-3125 agenter) och använder olika värden på k (k=5,10,15,20). Resultaten visar att ESP metoden i genomsnitt är dubbelt så snabb jämfört med OSP metoden. Dessutom visades ett värde på k=10 vara en bra kompromiss mellan att snabbt hitta de k-närmaste grannarna när ESP metoden används, men också ha flockar av agenter som rör sig kollektivt.

Page generated in 0.0709 seconds