liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Identifying and Alleviating Performance Bottlenecks for Boid-Based Systems
Linköping University, Department of Electrical Engineering. (Informationskodning)
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 28 HE creditsStudent thesis
Abstract [en]

Boid-based systems are typically used to simulate flocks of animals in nature, such as avian flocks or fish schools. The naïve implementation has a time complexity of $O(n^2)$, as each boid perceives and reacts to every other, and thus scales poorly with flock size. Several optimizations and strategies have previously been explored to mitigate this fact, such as space partitioning of the game world where the simulation runs. This thesis explores the performance bottlenecks in an implementation utilizing some of these optimizations, mainly spatial hashing.

The findings indicate that the major performance bottleneck is the aggregation of positions and headings required to enact the boid steering behaviors. This performance bottleneck can be alleviated by spatially hashing the game world, using a cell-based neighborhood, and parallelizing the computations over these cells. In addition, parameters controlling the simulation can be tweaked and upper-bound limits imposed on the number of interactions to further improve performance.

Place, publisher, year, edition, pages
2024. , p. 39
Keywords [en]
boid, fish school simulation, bottleneck, performance, game development
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-204893ISRN: LiTH-ISY-EX--24/5664--SEOAI: oai:DiVA.org:liu-204893DiVA, id: diva2:1871288
External cooperation
Pugstorm AB
Subject / course
Computer science
Presentation
2024-06-07, Systemet, Campus Valla, Linköping, 13:15 (English)
Supervisors
Examiners
Available from: 2024-06-17 Created: 2024-06-17 Last updated: 2024-06-17Bibliographically approved

Open Access in DiVA

fulltext(2108 kB)1038 downloads
File information
File name FULLTEXT01.pdfFile size 2108 kBChecksum SHA-512
42fa4c76c49fcc73da1722f795553508de620e050a9f9b5a4e83d617f40bd162fe22113b62909f522abf874477a57fa0e407c020b6061e192f9cf9f4e263625a
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Norgren, Bo Valdemar
By organisation
Department of Electrical Engineering
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 1045 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 427 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf