Section 8: Paths, walks and connectivity Flashcards
Euler tour
a closed walk in a graph which includes each edge precisely once
Eulerian graph
a graph that contains an Euler tour
A connected graph is Eulerian iff
every vertex has even degree
Hamilton cycle
a cycle which contains every vertex
Hamiltonian graph
a graph on n ≥ 3 vertices that contains a Hamilton cycle
G contains a Hamilton cycle if
G is a graph on n ≥ 3 vertices and the minimum degree of G is at least n/2
The Travelling Salesman Problem
A travelling salesman has to visit a number of cities before returning to his starting point: what is the minimum distance he has to travel?
Lower bound algorithm gives
lower bound on the value of the optimum solution to the travelling salesman problem
Lower bound algorithm
a) For any vertex v, any Hamilton cycle must contain two distinct edges incident with v.
b) If we delete v and the two edges incident with v from a Hamilton cycle, the remainder of the cycle gives a spanning
path on the graph G’ obtained from G by deleting v.
Nearest Neighbour Heuristic
a) Choose a starting vertex v1.
b) For i = 2 to n
* Set S to be the set of vertices not yet visited (so S = V(G) \ {v1, . . . , vi−1})
* Choose vi to be a vertex in S such that the weight of vi−1vi is as small as possible
c) Return v1, . . . , vn.