18
By: Todd Waters & Maya Robinson

Hamilton Paths & Circuits in Special Graphs

  • Upload
    glenys

  • View
    60

  • Download
    4

Embed Size (px)

DESCRIPTION

Hamilton Paths & Circuits in Special Graphs. By: Todd Waters & Maya Robinson. Traveling Salesman Problem. The objective is to visit a number of cities once and return home with the minimum amount of travel. - PowerPoint PPT Presentation

Citation preview

Page 1: Hamilton Paths & Circuits in Special Graphs

By: Todd Waters & Maya Robinson

Page 2: Hamilton Paths & Circuits in Special Graphs

The objective is to visit a number of cities once and return home with the minimum amount of travel.

Used by mathematicians, statisticians, and computer scientist to solve optimization problems

This relates to our presentation because we are going to use Hamilton circuits.

Page 3: Hamilton Paths & Circuits in Special Graphs

A Petersen graph is a graph with 10 vertices and 15 edges.

Page 4: Hamilton Paths & Circuits in Special Graphs

A Hamiltonian cycle (or Hamiltonian circuit) is a cycle in an undirected graph which visits each vertex exactly once and also returns to the starting vertex.

•A path visits each vertex of a graph once and only once.

Page 5: Hamilton Paths & Circuits in Special Graphs

A Petersen graph has a Hamilton path but no Hamiltonian cycle. In other words a Peterson graph does not have a Hamilton Circuit.

Page 6: Hamilton Paths & Circuits in Special Graphs

Definition Example

A bipartite graph is a graph whose vertices can be divided into two sets X and Y such that every edge connects a vertex in X to one in Y; Which makes, X and Y independent sets.

Page 7: Hamilton Paths & Circuits in Special Graphs

This example has no Hamilton circuit because in a Hamilton circuit you must visit each vertex of the graph exactly once and return to the starting point. In this example you cannot do so.

A B

C D E

Page 8: Hamilton Paths & Circuits in Special Graphs

Also, this example has no Hamilton circuit because you must visit each vertex of the graph exactly once and return to the starting point. In this example you cannot do so.

Page 9: Hamilton Paths & Circuits in Special Graphs

In this example, you have several Hamilton Circuits. This graph differs from the other examples because the independent sets have an equal number of points.

Hamilton Circuits◦ A-F-C-E-B-D-A◦ D-B-F-C-E-A-D◦ B-D-A-F-C-E-B◦ C-E-A-D-B-F-C◦ E-A-D-B-F-C-E◦ F-B-D-A-E-C-F

A

B

C

D

E

F

Page 10: Hamilton Paths & Circuits in Special Graphs

Regular Dodecahedron A dodecahedron is a regular polyhedron with twelve flat faces each a regular pentagon with threemeeting at each vertex.

Regular IcosahedronAn icosahedraon is a regularpolyhedron with 20 identicalequilateral triangular faces with

eachmeeting at each vertex.

Dodecahedron

Icosahedron

Page 11: Hamilton Paths & Circuits in Special Graphs

Has a Hamilton circuit Order of travel:

◦ 1-5-6-15-14-13-12-11-10-9-18-19-20-16-17-7-8-4-3-2-1

◦ 2-3-4-5-1-14-15-6-7-8-9-10-11-19-18-17-16-20-13-12-2 None of the vertices were hit twice

Page 12: Hamilton Paths & Circuits in Special Graphs

Has a Hamilton circuit Order of travel:

◦ 3-2-4-5-6-11-10-9-8-12-7-1-3

◦ 7-8-3-9-4-2-5-10-12-11-6-1-7

Page 13: Hamilton Paths & Circuits in Special Graphs

Hamilton path that starts at I◦ Is it possible: YES!◦ I-B1-C1-B4-C4-B3-C3-B2-C2

A path was made where each vertex in the graph was visited only once.

C1

B4

B1

C4

C2

C3

B2I

B3

Page 14: Hamilton Paths & Circuits in Special Graphs

Hamilton path that starts at one of the corner vertices and end at a different corner vertex◦ Is it possible: YES!

C1-B1-I-B4-C4-B3-C3-B2-C2 A path was made where each vertex in

the graph was visited only once

C1

B4

B1

C4

C2

C3

B2I

B3

Page 15: Hamilton Paths & Circuits in Special Graphs

Hamilton path that starts at one of the end corners vertices and ends at I◦ Is it possible: YES!

C4-B3-C3-B2-C2-B1-C1-B4-I A path was made where each vertex in

the graph was visited only once

C1

B4

B1

C4

C2

C3

B2I

B3

Page 16: Hamilton Paths & Circuits in Special Graphs

Hamilton path that starts at one of the corner vertices and ends at one of the boundary vertices.◦ Is it possible?: NO!

The interior vertex (I) creates a problems

C1

B4

B1

C4

C2

C3

B2I

B3

Page 17: Hamilton Paths & Circuits in Special Graphs

Hamilton circuit:◦ Is it possible: NO!

The interior vertex(I) creates a problem. It is now impossible for

us to visit each vertex once.

C1

B4

B1

C4

C2

C3

B2I

B3

Page 18: Hamilton Paths & Circuits in Special Graphs

Terry, E., Class Notes, July 2010.

Wikipedia, Internet, July 2010.