2/25/2016Tucker, Sec. 2.21 Applied Combinatorics, 4 th Ed. Alan Tucker Section 2.2 Hamilton Circuits Prepared by: Nathan Rounds and David Miller.

Slides:



Advertisements
Similar presentations
 Theorem 5.9: Let G be a simple graph with n vertices, where n>2. G has a Hamilton circuit if for any two vertices u and v of G that are not adjacent,
Advertisements

Section 3.4 The Traveling Salesperson Problem Tucker Applied Combinatorics By Aaron Desrochers and Ben Epstein.
MCA 202: Discrete Mathematics under construction Instructor Neelima Gupta
8.3 Representing Relations Connection Matrices Let R be a relation from A = {a 1, a 2,..., a m } to B = {b 1, b 2,..., b n }. Definition: A n m  n connection.
De Bruijn sequences Rotating drum problem:
Graph-02.
Introduction to Graphs
Hamiltonian Circuits and Paths
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Representing Relations Using Matrices
Applied Combinatorics, 4th Ed. Alan Tucker
Section 2.1 Euler Cycles Vocabulary CYCLE – a sequence of consecutively linked edges (x 1,x2),(x2,x3),…,(x n-1,x n ) whose starting vertex is the ending.
Applied Combinatorics, 4th Ed. Alan Tucker
02/01/05Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 1.3 Edge Counting Prepared by Joshua Schoenly and Kathleen McNamara.
Tucker, Applied Combinatorics, Section 1.4, prepared by Patti Bodkin
1/25/2005Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 1.2 Isomorphism Prepared by Jo Ellis-Monaghan.
§ Hamiltonian Circuits and Paths; Complete Graphs A sample-return mission sent to discover signs of microbial life on Mars is scheduled to be launched.
2.2 Hamilton Circuits Hamilton Circuits Hamilton Paths Tucker, Applied Combinatorics, Section 2.2, Tamsen Hunter.
3/29/05Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 4.2 Minimal Spanning Trees Prepared by Amanda Dargie and Michele Fretta.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
Applied Discrete Mathematics Week 12: Trees
03/01/2005Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 3.1 Properties of Trees Prepared by Joshua Schoenly and Kathleen McNamara.
2/28/2005Tucker, Sec Applied Combinatorics, 4th ed. Alan Tucker Section 4.1 Shortest Paths Prepared by Sarah Walker.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 6, Friday, September 12.
1/25/05Tucker, Sec.1.11 Applied Combinatorics, 4th Ed. Alan Tucker Section 1.1 Graph Models Prepared by Jo Ellis-Monaghan.
Applied Discrete Mathematics Week 10: Equivalence Relations
1/22/03Tucker, Applied Combinatorics, Section EDGE COUNTING TUCKER, APPLIED COMBINATORICS, SECTION 1.3, GROUP B Michael Duquette & Amanda Dargie.
Subdivision of Edge In a graph G, subdivision of an edge uv is the operation of replacing uv with a path u,w,v through a new vertex w.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
An Improved Degree Based Condition for Hamiltonian Cycles November 22, 2005 November 22, 2005.
Tree A connected graph that contains no simple circuits is called a tree. Because a tree cannot have a simple circuit, a tree cannot contain multiple.
Based on slides by Y. Peng University of Maryland
Module #19: Graph Theory: part II Rosen 5 th ed., chs. 8-9.
Graphs.  Definition A simple graph G= (V, E) consists of vertices, V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements.
MAT 2720 Discrete Mathematics Section 8.7 Planar Graphs
Planar Graphs Graph Coloring
5.5.2 M inimum spanning trees  Definition 24: A minimum spanning tree in a connected weighted graph is a spanning tree that has the smallest possible.
AND.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits.
Basic properties Continuation
Chapter 11 - Graph CSNB 143 Discrete Mathematical Structures.
1) Find and label the degree of each vertex in the graph.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
An Introduction to Graph Theory
Outline 1 Properties of Planar Graphs 5/4/2018.
Çizge Algoritmaları.
Chapter 9 (Part 2): Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Tucker, Applied Combinatorics, Sec 2.4
Applied Combinatorics, 4th Ed. Alan Tucker
Based on slides by Y. Peng University of Maryland
Discrete Math II Howon Kim
Connectivity Section 10.4.
Relations and Digraphs
Applied Combinatorics, 4th Ed. Alan Tucker
Applied Combinatorics, 4th Ed. Alan Tucker
Hamiltonian Circuits and Paths
Applied Combinatorics, 4th Ed. Alan Tucker
MAT 2720 Discrete Mathematics
N(S) ={vV|uS,{u,v}E(G)}
Gaph Theory Planar Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Applied Discrete Mathematics Week 13: Graphs
Agenda Review Lecture Content: Shortest Path Algorithm
Presentation transcript:

2/25/2016Tucker, Sec Applied Combinatorics, 4 th Ed. Alan Tucker Section 2.2 Hamilton Circuits Prepared by: Nathan Rounds and David Miller

2/25/2016Tucker, Sec Definitions Hamilton Path – A path that visits each vertex in a graph exactly once. B C D E F Possible Hamilton Path: A-F-E-D-B-C AB C D E F

2/25/2016Tucker, Sec Definitions Hamilton Circuit – A circuit that visits each vertex in a graph exactly once. Possible Hamilton Circuit: A-F-E-D-C-B-A A B C D E F

2/25/2016Tucker, Sec Rule 1 If a vertex x has degree 2, both of the edges incident to x must be part of any Hamilton Circuit. A B C D E F Edges FE and ED must be included in a Hamilton Circuit if one exists.

2/25/2016Tucker, Sec Rule 2 No proper subcircuit, that is, a circuit not containing all vertices, can be formed when building a Hamilton Circuit. A B C D E F Edges FE, FD, and DE cannot all be used in a Hamilton Circuit.

2/25/2016Tucker, Sec Rule 3 Once the Hamilton Circuit is required to use two edges at a vertex x, all other (unused) edges incident at x can be deleted. A B C D E F If edges FA and FE are required in a Hamilton Circuit, then edge FD can be deleted in the circuit building process.

2/25/2016Tucker, Sec Example Using rules to determine if either a Hamilton Path or a Hamilton Circuit exists. A D E G F I H C B JK

2/25/2016Tucker, Sec Using Rules Rule 1 tells us that the red edges must be used in any Hamilton Circuit. H A D E G F I C B J K Vertices A and G are the only vertices of degree 2.

2/25/2016Tucker, Sec Using Rules Rules 3 and 1 advance the building of our Hamilton Circuit. A D E G F I H C B JK Since the graph is symmetrical, it doesn’t matter whether we use edge IJ or edge IK. If we choose IJ, Rule 3 lets us eliminate IK making K a vertex of degree 2. By Rule 1 we must use HK and JK.

2/25/2016Tucker, Sec Using Rules All the rules advance the building of our Hamilton Circuit. A D E G F I C B J H K Rule 2 allows us to eliminate edge EH and Rule 3 allows us to eliminate FJ. Now, according to Rule 1, we must use edges BF, FE, and CH.

2/25/2016Tucker, Sec Using Rules Rule 2 tells us that no Hamilton Circuit exists. A D E G F I C B J Since the circuit A-C-H-K-J-I-G-E-F-B-A that we were forced to form does not include every vertex (missing D ), it is a subcircuit. This violates Rule 2. H K

2/25/2016Tucker, Sec Theorem 1 A graph with n vertices, n > 2, has a Hamilton circuit if the degree of each vertex is at least n/2. A B C D E F n = 6 n/2 = 3 Possible Hamilton Circuit: A- B-E-D-C-F-A

2/25/2016Tucker, Sec However, not “if and only if” E B C D F AB C D F Theorem 1 does not necessarily have to be true in order for a Hamilton Circuit to exist. Here, each vertex is of degree 2 which is less than n/2 and yet a Hamilton Circuit still exists.

2/25/2016Tucker, Sec Theorem 2 Let G be a connected graph with n vertices, and let the vertices be indexed x 1,x 2,…,x n, so that deg(x i ) deg(x i+1 ). If for each k n/2, either deg(x k ) > k or deg(x n-k ) n-k, then G has a Hamilton Circuit. n/2 = 3 k = 3,2,or 1 Possible Hamilton Circuit: X 1 -X 5 -X 3 -X 4 -X 2 -X 6 -X 1 X5X5 X1X1 X6X6 X3X3 X4X4 X2X2

2/25/2016Tucker, Sec Theorem 3 Suppose a planar graph G, has a Hamilton Circuit H. Let G be drawn with any planar depiction. Let r i denote the number of regions inside the Hamilton Circuit bounded by i edges in this depiction. Let be the number of regions outside the circuit bounded by i edges. Then numbers r i and satisfy the following equation.

2/25/2016Tucker, Sec Use of Theorem Planar Graph G No matter where a Hamilton Circuit is drawn (if it exists), we know that and. Therefore, and must have the same parity and.

2/25/2016Tucker, Sec Use of Theorem 3 Cont’d Eq. (*) Consider the case. This is impossible since then the equation would require that which is impossible since. We now know that, and therefore. Now we cannot satisfy Eq. (*) because regardless of what possible value is taken on by, it cannot compensate for the other term to make the equation equal zero. Therefore, no Hamilton Circuit can exist.

2/25/2016Tucker, Sec Theorem 4 Every tournament has a directed Hamilton Path. Tournament – A directed graph obtained from a (undirected) complete graph, by giving a direction to each edge. AB C D The tournaments (Hamilton Paths) in this graph are: A-D-B-C, B-C-A-D, C-A-D-B, D-B-C-A, and D-C-A-B. (K 4, with arrows)

2/25/2016Tucker, Sec Definition Grey Code uses binary sequences that are almost the same, differing in just one position for consecutive numbers. A=000 B=100 C=110 D=010 F=011 G=111 H=101 I=001 Advantages for using Grey Code: -Very useful when plotting positions in space. -Helps navigate the Hamilton Circuit code. Example of an Hamilton Circuit:

2/25/2016Tucker, Sec Class Exercise Find a Hamilton Circuit, or prove that one doesn’t exist. ABC DE FGH Rule’s: If a vertex x has degree 2, both of the edges incident to x must be part of any Hamilton Circuit. No proper subcircuit, that is, a circuit not containing all vertices, can be formed when building a Hamilton Circuit. Once the Hamilton Circuit is required to use two edges at a vertex x, all other (unused) edges incident at x can be deleted.

2/25/2016Tucker, Sec Solution By Rule One, the red edges must be used Since the red edges form subcircuits, Rule Two tells us that no Hamilton Circuits can exist. ABC DE FGH