Mathematical Modeling and Intelligent Control for Combating Pandemics