A fast algorithm for identifying Friends-of-Friends halos
Yu Feng, Chirag Modi

TL;DR
This paper introduces a fast, memory-efficient algorithm for identifying friends-of-friends halos in cosmological data, significantly reducing computational complexity and merge operations, especially in high-density regions.
Contribution
The authors present a novel, simple algorithm that improves the efficiency of friends-of-friends halo identification by reducing merge operations and computational costs using hierarchical trees and pruning techniques.
Findings
Reduces merge operations by over 50% in typical cosmological datasets.
Achieves linear time complexity for merging trees, improving over previous methods.
Easily integrable with existing pair enumeration codes.
Abstract
We describe a simple and fast algorithm for identifying friends-of-friends features and prove its correctness. The algorithm avoids unnecessary expensive neighbor queries, uses minimal memory overhead, and rejects slowdown in high over-density regions. We define our algorithm formally based on pair enumeration, a problem that has been heavily studied in fast 2-point correlation codes and our reference implementation employs a dual KD-tree correlation function code. We construct features in a hierarchical tree structure, and use a splay operation to reduce the average cost of identifying the root of a feature from to ( is the size of a feature) without additional memory costs. This reduces the overall time complexity of merging trees from to , reducing the number of operations per splay by orders of magnitude. We next introduce a pruning operation…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGraph Theory and Algorithms · Algorithms and Data Compression · Data Management and Algorithms
