Knight s Tour Problem and its Graph Analysis. Deepak Kumar Kent State University

Similar documents
Outline. NP-completeness. When is a problem easy? When is a problem hard? Today. Euler Circuits

Graph Theory Problems and Solutions

Discrete Mathematics Problems

Computer Algorithms. NP-Complete Problems. CISC 4080 Yanjun Li

Exponential time algorithms for graph coloring

V. Adamchik 1. Graph Theory. Victor Adamchik. Fall of 2005

Analysis of Algorithms, I

Social Media Mining. Graph Essentials

Zachary Monaco Georgia College Olympic Coloring: Go For The Gold

Small Maximal Independent Sets and Faster Exact Graph Coloring

Chapter 6: Graph Theory

Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs

Definition Given a graph G on n vertices, we define the following quantities:

Introduction to Graph Theory

Reductions & NP-completeness as part of Foundations of Computer Science undergraduate course

A Turán Type Problem Concerning the Powers of the Degrees of a Graph

Mathematics for Algorithm and System Analysis

Connectivity and cuts

On the k-path cover problem for cacti

CS311H. Prof: Peter Stone. Department of Computer Science The University of Texas at Austin

Introduction Solvability Rules Computer Solution Implementation. Connect Four. March 9, Connect Four

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

5.1 Bipartite Matching

Outline 2.1 Graph Isomorphism 2.2 Automorphisms and Symmetry 2.3 Subgraphs, part 1

Polytope Examples (PolyComp Fukuda) Matching Polytope 1

5. A full binary tree with n leaves contains [A] n nodes. [B] log n 2 nodes. [C] 2n 1 nodes. [D] n 2 nodes.

Scheduling Shop Scheduling. Tim Nieberg

Guessing Game: NP-Complete?

2. (a) Explain the strassen s matrix multiplication. (b) Write deletion algorithm, of Binary search tree. [8+8]

Every tree contains a large induced subgraph with all degrees odd

Euler Paths and Euler Circuits

Odd induced subgraphs in graphs of maximum degree three

CSE 4351/5351 Notes 7: Task Scheduling & Load Balancing

Part 2: Community Detection

SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH

3. Eulerian and Hamiltonian Graphs

Cycle transversals in bounded degree graphs

CAD Algorithms. P and NP

Distributed Computing over Communication Networks: Maximal Independent Set

Picture Maze Generation by Successive Insertion of Path Segment

Midterm Practice Problems

Course on Social Network Analysis Graphs and Networks

Generalized Induced Factor Problems

Tenacity and rupture degree of permutation graphs of complete bipartite graphs

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs

Graph Powers: Hardness Results, Good Characterizations and Efficient Algorithms. Dissertation

Minimum degree condition forcing complete graph immersion

Graph Theory and Complex Networks: An Introduction. Chapter 06: Network analysis

Subgraph Patterns: Network Motifs and Graphlets. Pedro Ribeiro

A Fast Algorithm For Finding Hamilton Cycles

Graph Theory and Complex Networks: An Introduction. Chapter 06: Network analysis. Contents. Introduction. Maarten van Steen. Version: April 28, 2014

1. Nondeterministically guess a solution (called a certificate) 2. Check whether the solution solves the problem (called verification)

Graphs without proper subgraphs of minimum degree 3 and short cycles

Cycles and clique-minors in expanders

Finding and counting given length cycles

Class One: Degree Sequences

Graph Theory Origin and Seven Bridges of Königsberg -Rhishikesh

USE OF EIGENVALUES AND EIGENVECTORS TO ANALYZE BIPARTIVITY OF NETWORK GRAPHS

Tree-representation of set families and applications to combinatorial decompositions

Introduction to Algorithms. Part 3: P, NP Hard Problems

Priority Based Enhancement of Online Power-Aware Routing in Wireless Sensor Network. Ronit Nossenson Jerusalem College of Technology

Global secure sets of trees and grid-like graphs. Yiu Yu Ho

On the crossing number of K m,n

Mean Ramsey-Turán numbers

Network/Graph Theory. What is a Network? What is network theory? Graph-based representations. Friendship Network. What makes a problem graph-like?

THE PROBLEM WORMS (1) WORMS (2) THE PROBLEM OF WORM PROPAGATION/PREVENTION THE MINIMUM VERTEX COVER PROBLEM

1. Write the number of the left-hand item next to the item on the right that corresponds to it.

1 Introduction. Dr. T. Srinivas Department of Mathematics Kakatiya University Warangal , AP, INDIA

Page 1. CSCE 310J Data Structures & Algorithms. CSCE 310J Data Structures & Algorithms. P, NP, and NP-Complete. Polynomial-Time Algorithms

Degree-associated reconstruction parameters of complete multipartite graphs and their complements

Ph.D. Thesis. Judit Nagy-György. Supervisor: Péter Hajnal Associate Professor

Handout #Ch7 San Skulrattanakulchai Gustavus Adolphus College Dec 6, Chapter 7: Digraphs

Clique coloring B 1 -EPG graphs

Design of LDPC codes

Cycles in a Graph Whose Lengths Differ by One or Two

The positive minimum degree game on sparse graphs

A NOTE ON OFF-DIAGONAL SMALL ON-LINE RAMSEY NUMBERS FOR PATHS

Chapter 3.1 Angles. Geometry. Objectives: Define what an angle is. Define the parts of an angle.

Introduced by Stuart Kauffman (ca. 1986) as a tunable family of fitness landscapes.

The Traveling Beams Optical Solutions for Bounded NP-Complete Problems

Small independent edge dominating sets in graphs of maximum degree three

Large induced subgraphs with all degrees odd

Institut für Informatik Lehrstuhl Theoretische Informatik I / Komplexitätstheorie. An Iterative Compression Algorithm for Vertex Cover

The chromatic spectrum of mixed hypergraphs

Application of Graph Theory to

Answer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( )

SCAN: A Structural Clustering Algorithm for Networks

Optimal 3D Angular Resolution for Low-Degree Graphs

UPPER BOUNDS ON THE L(2, 1)-LABELING NUMBER OF GRAPHS WITH MAXIMUM DEGREE

Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar

Ant Colony Optimization and Constraint Programming

The Minimum Consistent Subset Cover Problem and its Applications in Data Mining

Nimble Algorithms for Cloud Computing. Ravi Kannan, Santosh Vempala and David Woodruff

CSE 326, Data Structures. Sample Final Exam. Problem Max Points Score 1 14 (2x7) 2 18 (3x6) Total 92.

A 2-factor in which each cycle has long length in claw-free graphs

CMPSCI611: Approximating MAX-CUT Lecture 20

The Butterfly, Cube-Connected-Cycles and Benes Networks

each college c i C has a capacity q i - the maximum number of students it will admit

NP-Completeness. CptS 223 Advanced Data Structures. Larry Holder School of Electrical Engineering and Computer Science Washington State University

A Sublinear Bipartiteness Tester for Bounded Degree Graphs

Transcription:

Knight s Tour Problem and its Graph Analysis Deepak Kumar Kent State University

In this Presentation: Knight s Tour and its Problem discussion Building Knight s Graph Analysis on Knight Graph Special Properties of the Knight Graph

Knight Tour Problem The knight is placed on any block of an empty board and is move according to the rules of chess, must visit each square exactly once. If the knight ends on a square that is one knight's move from the beginning square, the tour is closed otherwise it is open tour. It is also called as Hamiltonian path. A cycle that uses each graph vertex of a graph exactly once is called a Hamiltonian cycle Knight's tour can be defined on any grid pattern.

There are few questions we can ask: 1. Is it possible for a knight to start on some square and, by a series of valid knight moves, visit each square on an 8 8 chessboard or any other grid once? 2. Is the graph will be connected? Can I start my knight at a vertex and get to any vertex by only making valid knight s moves? 3. What is the degree of each vertex? 4. How many colors does it take to color this graph such that no two vertices of the same color are connected by an edge?

Open and Closed Tour

Building Knight Graph Each square on the chessboard can be represented as a node in the graph. Each legal move by the knight can be represented as an edge in the graph. Legal move is shift one square along one axis and two square along the other axis

For a n*m knight's tour graph the total number of vertices is simply n*m. For a n*n knight's tour graph the total number of vertices is simply n 2 and the total number of edges is 4(n-2)(n-1). Knight's tour path exists on an n*n board if n >= 5

Bipartite Graph A bipartite is a graph whose vertices can be divided into two disjoint sets U and V (that is, U and V are each independent sets) such that every edge connects a vertex in U to one in V. The two sets U and V may be thought of as a coloring of the graph with two colors: if one colors all nodes in U blue, and all nodes in V green, each edge has endpoints of differing colors. All acyclic graph is bipartite, and a cyclic graph is bipartite if all its cycles are of even length. A graph is bipartite if and only if it does not contain an odd cycle. if it is 2-colorable.

. Special Properties of Knight Graph Knight Graph are bipartite graph. In Knight graph, no two graph vertices within the same set are adjacent. A knight move always alternates between white and black squares. Knight graph are equivalent to two-colorable graph. Its chromatic number is 2.

Knight graph is a special case of k-partite graph with k=2. Knight graph are perfect Graph. A perfect graph is a graph G such that for every induced subgraph of G, the clique number equals the chromatic number, i.e., w(g)=c(g). For Knight graph, w(g)=c(g) = 2.

A Knight graph is perfect as neither the graph G nor its graph complement has a chord less cycle of odd order. The perfect graph theorem states that the graph complement of a perfect graph is itself perfect. A Knight graph is therefore perfect as its complement is also perfect. Degree of each vertex in Knight graph is 2. It is also called as regular bipartite graph as degree is same for every vertex. In general, every bipartite graph is perfect. Every tree is a bipartite graph.

Solution Approach Brute force Neural networks Depth first search with backtracking:- Knight moves to a square that has the lowest number of next moves available. The idea is that at the end of the tour it will visit squares that have more move choices available. Ant colony optimization:- ACO has a good capability of finding better tour path, which not only uses the feedback principle to quicken evolution process of colonies but also is an essential parallel algorithm. The Knight s tour problem can be solved in linear time.

Questions?