Question 1
In the context of the Floyd-Warshall algorithm, what does it mean if the distance matrix has a negative value in its diagonal?
The graph has a negative-weight cycle.
The graph has negative-weight on edge but no negative-weight cycle.
The graph is acyclic.
The graph has a disconnected component.
