Using Particle Swarm Optimization as Pathfinding Strategy in a Space with Obstacles