Formulation and implementation of emergency evacuation tasks