Article Method of calculation of the function of reliability and connectivity for directions of alerts in emergency situations