Imagine youareinchargeofthecommunitybeinginfectedandyouhave learned theEvilWarlordsstrategiesfromexercise4.Youwereunabletostop the zombiefrominfectingthetarget,butnowyouwanttostopthespread. Imagine theinfectednodecanbitetwopeopleatagiventimestep.Afterthat, you canisolatethreepeopleinthecommunity.Thenthezombieseachbite two peopleagain. With apartnerplayingtheEvilWarlordandyouplayingtheNemesis, printoutthevisualizationofthenetwork.LettheEvilWarlordinfect someone.Thatpersonwillbitetwoneighbors(chosenbytheEvilWarlordin thissimulation),andthenyoucanprotectthreepeople.Repeatthisprocess

Question:

Imagine youareinchargeofthecommunitybeinginfectedandyouhave learned theEvilWarlord’sstrategiesfromexercise4.Youwereunabletostop the zombiefrominfectingthetarget,butnowyouwanttostopthespread.

Imagine theinfectednodecanbitetwopeopleatagiventimestep.Afterthat, you canisolatethreepeopleinthecommunity.Thenthezombieseachbite two peopleagain. With apartnerplayingtheEvilWarlordandyouplayingtheNemesis, printoutthevisualizationofthenetwork.LettheEvilWarlordinfect someone.Thatpersonwillbitetwoneighbors(chosenbytheEvilWarlordin thissimulation),andthenyoucanprotectthreepeople.Repeatthisprocess untilthespreadstops.Howmanypeoplehaveyousaved,andhowmany peopleareinfected?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: