Barnes–Hut simulation

The Barnes–Hut simulation (named after Joshua Barnes and Piet Hut) is an approximation algorithm for performing an N-body simulation. It is notable for having order O(n log n) compared to a direct-sum algorithm which would be O(n2).

Source: Wikipedia — Barnes–Hut simulation (CC BY-SA 4.0)

Barnes–Hut simulation

The Barnes–Hut simulation (named after Joshua Barnes and Piet Hut) is an approximation algorithm for performing an N-body simulation. It is notable for having order O(n log n) compared to a direct-sum algorithm which would be O(n2).

Source: Wikipedia "Barnes–Hut simulation" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy