Networks Flashcards

1
Q

What is a tour?

A

A closed route that passes through each node at least once.

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

What is a network?

A

A weighted graph.
Vertices are called nodes.
Edges are called arcs.
Arcs can be directed or undirected.

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

What kinds of network can be represented as a weighted matrix?

A

Simple networks (networks formed of a simple graph).

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

What is a spanning tree?

A

A tree that connects all the nodes in a network.

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

What is the MST?

A

Minimum spanning tree.

The spanning tree with the least total weight.

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

What is the aim of the Chinese postman problem?

A

To find the least weight route that uses every arc of a network.
(imagine a postman trying to travel along every road in the minimum time)

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

What is the aim of the travelling salesperson problem?

A

To find the least weight hamiltonian cycle.

imagine a salesperson trying to get to each house in the minimum time possible, without travelling down any road twice

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

How can the Chinese postman problem be solved?

A

If the network is formed by a eulerian graph, the probelm is already solved.
If not, the network must be altered so it becomes eulerian, by connecting all odd degree nodes to make them even, using the least weight possible. (list out all odd degree nodes)

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

How can an upper bound for the travelling salesperson problem be found?

A

Using the nearest neighbour algorithm.

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

How can a lower bound for the travelling salesperson problem be found?

A

Remove a node and all its connected arcs.
Construct an MST for the remaining network.
Add the weight of this MST to the two least weight arcs reconnecting the removed node.

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

What are the two methods used to find an MST?

A

Kruskal’s algorithm

Prim’s algorithm

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

What is Kruskal’s algorithm to find an MST?

A

List all arcs in increasing order of weight.
Add an arc of minimum weight to the tree so that no cycles are created.
Repeat this step until a spanning tree is obtained.

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

What is Prim’s algorithm to find an MST?

A

Start with a node usually stated in the question.
Add a minimum weight arc joining a node already included to a node not yet included.
Repeat this step until a spanning tree is obtained.
(there may be multiple MST’s)
-this process can easily be done in tabular form

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