5 Flashcards

1
Q

Shortest Path Problems in a Network Important Assumption

A

Shortest path problems are well de ned only if there is no circuit with a negative length. From now on, we will assume that this is always the case

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

circuit

A

A circuit is a path whose endpoints are the same vertex
A chain (a cycle) is elementary if each vertex is present at most once
A chain (a cycle) is simple if each edge is present at most once

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

chain

A

A chain in a graph is a sequence of vertices such that each pair of consecutive vertices in the sequence is connected by an edge. However, in a chain, vertices and edges can be repeated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

path

A

A path in a graph is a special kind of chain where no vertices (and therefore no edges) are repeated. A path is a sequence of distinct vertices such that each consecutive pair of vertices in the sequence is connected by an edge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Bellman’s Principle of Optimality

A

In the context of shortest paths problems, this principle simply states
that a shortest path consists of shortest paths.
This doesn’t mean that the union of shortest paths is a shortest path !

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Dijkstra’s algorithm condition

A

a connected network R = (V, E, c), |V| = n, |E| = m, where c : E → R+
is a non-negative weighting of the arcs of the graph G = (V, E). A source s ∈ V

How well did you know this?
1
Not at all
2
3
4
5
Perfectly