add solver ( Dijkstra and A* )