On-the-fly friends-of-friends algorithm
choosing your classmates for recess – you want to balance different personalities.
Technical definition
a method that dynamically identifies star clusters while mimicking the birth of millions of baby stars in a computer simulation.