It's based on steering behaviours first introduced by Craig W. Reynolds.
It's pretty powerful because you can add different behaviours and weight them on importance. Definitely look it up if you're interested!