Vaccination of people during an epidemic and viral infectious di