TL;DR
The paper introduces a novel, fast, tree-less algorithm for Friends-of-Friends group finding in large cosmological simulations, leveraging spatial hashing for improved speed and efficiency.
Contribution
It presents a new spatial hashing-based method for FOF group finding that outperforms traditional tree-based algorithms in speed and simplicity.
Findings
Speed up to 20x faster than tree-based FOF methods
Consistently completes in less time than k-d tree construction
Effective for simulations with up to a billion particles
Abstract
I describe a fast algorithm for the identification of connected sets of points where the point-wise connections are determined by a fixed spatial distance - a task commonly referred to in the cosmological simulation community as Friends-of-Friends (FOF) group finding. This technique sorts particles into fine cells sufficiently compact to guarantee their cohabitants are linked, and uses locality sensitive hashing to search for neighbouring (blocks of) cells. Tests on N-body simulations of up to a billion particles exhibit speed increases of factors up to 20x compared with FOF via trees (a factor around 8 is typical), and is consistently complete in less than the time of a k-d tree construction, giving it an intrinsic advantage over tree-based methods. The code is open-source and available online at https://github.com/pec27/hfof .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
