Shortest Path Problem Flashcards

1
Q

Name typical examples for applications which deal with the shortest path problems

A
  • Route planners
  • Logistics systems
  • Base data:
  • Problem structure
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Differences of finding shortest walk and finding shortest path

A

Shortest Walk:
- can be undefined because arcs and nodes can appear repeatedly

Shortest Path:
- always well-defined

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

Shortest Path tree characteristics

A
- In a shortest path tree, the unique path from s to node j
corresponds to the sought-after shortest path from s to j
- Node pred(j) is the predecessor node of node j in the corresponding
shortest path
- To determine all shortest paths from source s to all nodes of the
digraph, knowledge of the predecessor node pred(j) for j ∈ V \ {s}
is suffcient. The shortest path to node j results from "reading
backwards from destination to start" by means of the predecessor
function pred(·)
- Start sequences of shortest paths are shortest paths themselves
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Label setting algorithms (LSA)

A
  • in each iteration (outer loop) the label of one node is fixed to its
    final value. This is achieved by means of the node selection rule
  • potentially several labels are modified within one iteration of the
    outer loop
  • prerequisites: acyclic graph or non-negative arc weights
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Label correcting algorithms (LCA)

A
  • can modify all labels multiple times until the optimality conditions
    simultaneously hold for all arcs (i, j) ∈ A
  • often use simpler selection rules compared to LSA → potentially
    better average-case performance, but usually inferior concerning
    worst-case performance
  • LCA have no prerequisites concerning the weighted digraph
    (besides that no cycles of negative length are allowed)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does topological sorting mean?

A

A sorting (v1, v2, . . . , vm) of all nodes of digraph D is called
topological sorting if only arcs from a node with smaller index to a
node with larger index exist. Formally:
(vi, vj) ∈ A ⇒ i < j.

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

Name the iterative procedure to generate topological sorting

A

1 remove randomly one of the nodes without predecessor
together with all incident arcs
2 repeat until no node can be removed anymore

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