Post-earthquake functionality assessment and emergency base station deployment optimization for communication systems