An approach to the management of terrorist attacks in urban areas using dynamic simulation