Computers and Technology

You’re some security analysts monitor a collection of networked computers, tracking the spread of an online virus. there are n computers in the system, call them c1,. you are given a trace indicating the times at which pairs of computers communicated. the trace consists of m triples (ci ,cj ,tk) that indicate that ci and cj communicated at time tk. at this time, a virus could have spread from ci to cj , or from cj to ci . we assume that the trace holds the triples sorted in order by time. for simplicity, we assume that each pair of computers communicates at most once over the time of the trace. also, it is possible to have pairs (cs ,cj ,tk) and (ct ,cj ,tk); this would indicate that cj opened connections to both cs and ct at time tk, allowing a virus to spread in any way among the 3 machines. there’s nothing special about 3 here – there might be 4 or 10 or however many connections open at the same time, allowing a virus to spread in any way among all of them. we would like to answer questions of the following form: if a virus was introduced at ci at time x, could it have spread to cj at time y? that is, is there a sequence of communications that could have led from the virus moving from ci to cj? design an algorithm that, given as input a collection of (sorted) trace data and a virus query, gives a yes/no answer for the query. the algorithm should run in time o(m+n).

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, Molly05
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is 50e0bf08e5b671@ualwgypg91wa5wl. uzo9kbud3qjwddygd5.vng -
Answers: 1
image
Computers and Technology, 23.06.2019 15:10, cathyjuan
What role did women fill during world war ii?
Answers: 1
image
Computers and Technology, 24.06.2019 16:00, achsahjosey
This isn't about school but every time it tells me to watch an ad to unlock the answer to a question it prompts a survey and it just keeps loading. so i haven't been able to get answers for my tests in like a week.
Answers: 2
image
Computers and Technology, 25.06.2019 01:30, kalag9478
If the average computer chip had 1,200 transistors per square inch in 1970, approximately how many transistors per square inch would one have in 1976? use moore's law to calculate your answer
Answers: 1
Do you know the correct answer?
You’re some security analysts monitor a collection of networked computers, tracking the spread of a...

Questions in other subjects: