{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

mgf1107lecture18

# mgf1107lecture18 - MGF 1107 EXPLORATIONS IN MATHEMATICS...

This preview shows pages 1–3. Sign up to view the full content.

MGF 1107 – EXPLORATIONS IN MATHEMATICS LECTURE 18 The Knights Tour A famous problem that is analogous to finding a Hamilton path involves taking a chess board of various (square) sizes, and seeing if you can move a knight around the board, landing on each square exactly once. In the case of a board that measures 4 x 4 (or smaller), there is no solution: In the case of a board that measures 5 x 5 (or any square board where the dimensions are odd and larger than 5), there exists a Hamilton path, but no Hamilton circuit:

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
In the case of a board that measures 6 x 6 (or any square board where the dimensions are even and larger than 6), there exists a Hamilton circuit: The Repetitive Nearest Neighbor Algorithm The nearest neighbor algorithm that we looked at in Lecture 17 involved choosing a starting vertex. However the algorithm is so easy to apply that (assuming the number of vertices is reasonable) we can check each of the vertices in turn in order to get a better approximation of the optimal solution.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

mgf1107lecture18 - MGF 1107 EXPLORATIONS IN MATHEMATICS...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online