If the shortest path algorithm is run and a vertex is not reachable from
the starting point, what happens?

a. a distance of infinity is reported
b. a distance of –1 is reported
c. a distance of zero is reported
d. the algorithm enters an infinite loop
e. the algorithm’s results are undefined


A

Computer Science & Information Technology

You might also like to view...

Display the sum and difference of two rational numbers

What will be an ideal response?

Computer Science & Information Technology

microprocessors, RAM chips) allowed for the production of affordable, desktop computers.

What will be an ideal response?

Computer Science & Information Technology

What is Font stack?

What will be an ideal response?

Computer Science & Information Technology

RFI stands for

A) Radio Frequency Interference B) Read Format Indicator C) Real-time Frequency Impact D) Resonating From Input

Computer Science & Information Technology