00:01
Okay, this video we're going to be talking about a couple of statements about dykstra's algorithm that we want to evaluate whether or not they are true or not.
00:12
So we're looking at dykstra, and they give us this notation where if you run it, we run diktra's on a weighted.
00:25
So we have a weighted undirected graph, and we run it from a start node s.
00:34
So start node is s and they give us this function or this method dist 2 .get and this gives us the shortest path from s to t in this graph and so we want to look at a couple of statements about this graph and dextras and one evaluate whether or not they're true so the first statement is there can only exist a single shortest path from u to v so in this case, u and v are two nodes in the graph, and none of them are start.
01:21
None of them are the start node.
01:22
So we have u and v, so uv, and the first statement is that there's only one single shortest path.
01:33
One single shortest path, u to v.
01:38
And this is false.
01:43
So this is false because there can exist multiple shortest paths.
01:48
In one graph.
01:50
So for example, let's say we have these two nodes, u and v.
01:55
We could have two different shortest paths.
01:59
So let's put these two nodes here.
02:01
It's called us x and y.
02:03
We can have these four edges...