Studies on epidemic control in structured populations with applications to influenza