Zaslat záznam emailem: Effective approach to epidemic containment using link equations in complex networks