An research about inversion of boids for crowd analysis