Before revision:  Towards all the perished evacuees in the simulation, a variant of Dijkstra's algorithm is then employed to solve optimal paths for them and all the evacuees will finally follow the desired paths to exits.
After revision:  Towards all the perished evacuees in the simulation, a variant of Dijkstra's algorithm to obtain new safe paths for them and all the evacuees will finally follow the desired paths to exits.