Domino Tatami Covering is NP-complete

Similar documents
Monomino-Domino Tatami Coverings

arxiv: v1 [math.co] 19 Mar 2014

Contents. 1 Planning vs. problem solving. 2 Planning in the situation calculus. 3 STRIPS formalism. 4 Non-linear planning. 5 The POP algorithm

Maximally distant genomes under the DCJ operation

COMPUTER ENGINEERING PROGRAM

LESSON 7: THE CONCEPT OF PLACEMENT OF DESIGN

Plowing the Streets of Pittsburgh

Symmetries, patterns and orbifolds

presentations the week of the final exams. Anyone who misses the appointment will receive a grade of zero.

AIRPORTS. CARECALLER PowerfulSecuritySolutionsForSeriousSecurityNeeds

Lesson Plan. homework check: NPM 9 p. 424 # 1 6, 8. note: Optimum Area and Perimeter

INDUSTRIALMANDOWN & LONEWORKER

EQ-ROBO Programming : Cliff Check Robot

Security Management System - Configuring Video Analytics

Farm Town: How Many Trees and Flowers Do You Really Need?

GARDEN BED PAVERS. Number of Pavers Garden Bed

An Energy Efficient Middleware Architecture for Processing Spatial Alarms on Mobile Clients

Minimax: A Multiwinner Election Procedure

Unifying Alarms and Operating Envelopes for the Achievement of KPI s and Business Objectives

Selecting Circulators TD10 EFFECTIVE: SUPERSEDES:

A Energy Efficient Approach to Processing Spatial Alarms on Mobile Clients

Acca Residential Load Calculation Manual Also Called Manual J

Tatami s unexpected texture was inspired by the woven floor mats traditionally found in Japanese homes. Applied

Transient Groundwater Analysis with Slope Stability

Advanced Digital Signal Processing Part 4: DFT and FFT

Ridley Terminals Canada. Site HMI Station. In Central Office. Prepared by: Wayne Leung Controls Specialist. QCA Systems Limited

LETTER TO FAMILY. Science News. Cut here and paste onto school letterhead before making copies.

1.1. SYSTEM MODELING

THERMOSYS 4.3. Getting Started Guide

Air distribution systems. Opticlean OC-Q...

Current SEI SAT Initiative Technology Investigations. Architecture-Related Technology. Current SEI SAT Initiative Technology Investigations 5/1/2008

THERMAL TESTING OF A 3D PRINTED NON-UNIFORM HEATSINK AGAINST STATE-OF- THE-ART FINNED GEOMETRY

Development of the San Ace Airflow Tester - A Measuring Device for System Impedance and Operating Airflow of Equipment

The Process of Design. Jason M. Keith Fuel Cells and Alternative Fuels Enterprise Michigan Technological University Houghton, MI 49931

Baseline Data Required for AS

Software Failure Mode and Effects Analysis of Concept Phase for Radiation Monitoring System Digital Replacement

Certification Report of the ST3000 Pressure Transmitter

USING A REAL TIME SIMULATOR IN A LARGE AND COMPLEX ROAD TUNNEL FOR TIME AND COST SAVINGS

Garage Doors Hormann. Garage Doors Hormann

What percentage of infra red is absorbed by the glass? increases. does not change. decreases. Blacksurfaces are poor emitters of infra red radiation.

The Bonsai Handbook. The Bonsai Handbook

Project Number: P15441

AnthropologischeGesellschaftWien. Model Building. Gabriel Wurzer, Vienna University of Technology

Tutorial 16: Urban Planning

Air distribution systems. Opticlean OC-Q... DS 4136 E /1

Energy Transfer Workshop

SOME OF THE MOST COMMON TESTING MISTAKES MADE BY TECHNICIANS PERFORMING VERIFICATIONS TO CAN/ULC S537-04

WHITE PAPER: Cooling Industrial Enclosures with Filter Fans

LPG GAS LEAKAGE DETECTION, MONITORING AND CONTROL USING LabVIEW

DEVELOPMENT OF THE TANGO ALARM SYSTEM

MultiSite Monitor. Get the full performance picture from all your sites

Modeling water-mist based suppression of 34 GJ car-deck fires using FDS

of Nova Scotia s Approach to Continuous Availability

CORE Assessment Module Module Overview

FLIGHT UNLOADING IN ROTARY SUGAR DRYERS. P.F. BRITTON, P.A. SCHNEIDER and M.E. SHEEHAN. James Cook University

PlaySmart UK's Guide to Grass Mats

INTERNATIONAL STANDARD

User Manual. Digi-Sense TC9500 Advanced Multiparameter Temperature Controller with Thermocouple, Thermistor, and RTD Inputs

Understanding and Analyzing Your Washing Machine From a Human-Computer Interaction Perspective

SEPTEMBER-NEWSLETTER-ELEVATOR DANGERS

[FILE] NEST THERMOSTAT USER GUIDE EBOOK

Focus on Respiratory Care & Sleep Medicine Irvine, CA. Alarm Management. September 14-15, 2018

Shape the Design with Sound Performance Prediction

Fun and G ames: M az es Perimeter and Area Beth Georg o ia Beth

By: D K Singhal

What is Room EQ Wizard (aka REW)?

Smart Homes Modelling and Implementation

The Role of Engineering Judgement in Fire and Gas (F&G) Mapping

IEC61511 Standard Overview

SNC1P Electricity Practice Test

CFD Analysis of a 24 Hour Operating Solar Refrigeration Absorption Technology

SCHULTE & ASSOCIATES Building Code Consultants 3500 Creighton Road, K5 Pensacola, FL

Marlin Filament Monitoring October 2014

Finite Element Analysis, Harmonic Analysis and Modal Analysis of the Car Floor by Using With and Without Stiffener

Walking through walls - Generative solutions to naturalistic planting design.

Certification Report of the ST 3000 Pressure Transmitter with HART 6

E-Waste Frequently Asked Questions August 1, 2017

COMP201: Software Engineering I. Assignment 1, Part 1 (2017/2018) (100% mark for Assignment 1 is 10% of COMP201 grade)

Japanese Architecture

Analysis of ventilation system for a microwave assisted drying unit

Integrating Control and Safety: Where to draw the line.

Simple Equations for Predicting Smoke Filling Time in Fire Rooms with Irregular Ceilings

Designing Nanophotonic Interconnection Networks

CLIMATE RESPONSIVE ARCHITECTURE: A DESIGN HANDBOOK FOR ENERGY EFFICIENT BUILDINGS FROM TATA MCGRAW-HILL PUB. CO

Pressure Transmitter cerabar S PMC 731/631 cerabar S PMP 731/635 with ma output signal

Make A Raspberry Pi Controlled Robot Building A Rover With Python Linux Motors And Sensors

Future Community in Istanbul

Breathtaking cooling Amazing durability Unbelievable value

Intern Report at ESRI, Redlands

Reverse Engineering of a Household Fan. UEET101 Section 1 Group 1 Final Proposal Draft

MEASURE AND VERIFY SAVINGS OF REFRIGERATOR RECYCLING PROGRAM. Final Report Draft #3 August Prepared for: Sacramento Municipal Utility District

How to Create a Washer and Dryer Combo Tag

Published by the California Building Performance Contractors Association

Brother Hydrick, Best wishes, Kent L. Brough Senior Landscape Architect. Answers from Landscape Architect Kevin Shields-

Q&A Session from Alarm Management Workflow Webinar (Apr.24/2013)

I m so happy you ve chosen to download these materials for your classroom. I have three small favors to ask

Using Cellular Automata to Generate High-Density Building Form

Re: ENSC440 Functional Specification for a License Plate Recognition Auto-gate System

For Buying A Whole-Home Generator

PDF ELECTRIC RANGE REPAIR MANUAL DOCUMENT

Transcription:

Domino Tatami Covering is NP-complete Alejandro Erickson and Frank Ruskey University of Victoria

Japanese Tatami mats Traditional Japanese floor mats made of soft woven straw. A 17th Century layout rule: No four mats may meet.

No four dominoes (mats) may meet Tatami coverings of rectangles were considered by Mitsuyoshi Yoshida, and Don Knuth (about 370 years later).

No four dominoes (mats) may meet Tatami coverings of rectangles were considered by Mitsuyoshi Yoshida, and Don Knuth (about 370 years later).

No four dominoes (mats) may meet Tatami coverings of rectangles were considered by Mitsuyoshi Yoshida, and Don Knuth (about 370 years later).

No four dominoes (mats) may meet Tatami coverings of rectangles were considered by Mitsuyoshi Yoshida, and Don Knuth (about 370 years later).

No four dominoes (mats) may meet Tatami coverings of rectangles were considered by Mitsuyoshi Yoshida, and Don Knuth (about 370 years later).

No four dominoes (mats) may meet Tatami coverings of rectangles were considered by Mitsuyoshi Yoshida, and Don Knuth (about 370 years later).

No four dominoes (mats) may meet Tatami coverings of rectangles were considered by Mitsuyoshi Yoshida, and Don Knuth (about 370 years later).

Coverings of the chessboard There are exactly two (Ruskey, Woodcock, 2009)

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes? Is this NP-complete?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering (Ruskey, 2009) INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering is polynomial A domino covering is a perfect matching in the underlying graph.

Domino Tatami Covering is polynomial A domino covering is a perfect matching in the underlying graph. INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes?

Domino Tatami Covering is polynomial A domino covering is a perfect matching in the underlying graph. INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes? This can be answered in O(n 2 ), since the underlying graph is bipartite.

Tatami coverings as matchings The tatami restriction is the additional constraint, that every 4-cycle contains a matched edge. Theorem (Churchley, Huang, Zhu, 2011) Given a graph G, it is NP-complete to decide whether it has a matching such that every 4-cycle contains a matched edge, even if G is planar.

Tatami coverings as matchings The tatami restriction is the additional constraint, that every 4-cycle contains a matched edge. In Domino Tatami Covering, G is an induced subgraph of the infinite gridgraph, and the matching must be perfect. Theorem (Churchley, Huang, Zhu, 2011) Given a graph G, it is NP-complete to decide whether it has a matching such that every 4-cycle contains a matched edge, even if G is planar.

DTC is NP-complete Domino Tatami Covering INPUT: A region, R, with n grid squares. QUESTION: Can R be tatami covered with dominoes? Theorem (E, Ruskey, 2013) Domino Tatami Covering is NP-complete.

Planar 3SAT Let φ be a 3CNF formula, with variables U, and clauses C. Let G = (U C, E), where {u, c} E iff one of the literals u or ū is in the clause c. The formula is planar if there exists a planar embedding of G. Planar 3SAT is NP-complete (Lichtenstein, 1982).

Reduction to Planar 3SAT Working backwards from the answer... a a b c b c d b d

Reduction to Planar 3SAT Working backwards from the answer... a a b c b c d b d

Reduction to Planar 3SAT Working backwards from the answer... a a b c b c d b d

Verify the NOT gate F T NOT gate covering can be completed with all good signals, but no bad signal. good bad F T T T T F F F

Verify the NOT gate F T T F F F 1 2 8 6 1 5 7 3 4 9 T T NOT gate covering can be completed with all good signals, but no bad signal. good bad F T T T T F F F

Search for a NOT gate F T Search for sub-region, R, of the pink area. If R and the chessboards can be covered with all good signals, but no bad signal, we are done! good bad F T T T T F F F

SAT-solvers A SAT-solver is software that finds a satisfying assignment to a Boolean formula, or outputs UNSATISFIABLE. We used MiniSAT. Given an instance of DTC, the corresponding SAT instance has the edges of the underlying graph G, as variables. A satisfying assignment sets matched edges to TRUE and unmatched edges to FALSE. Three conditions must be enforced: 1. TRUE edges are not incident. 2. An edge at each vertex is TRUE. 3. An edge of each 4-cycle is TRUE.

SAT-solvers We can generate, test cover, and forbid regions with SAT-solvers. 4 12 CC#...#CC CC#...#CC CC#...#CC CC#...#CC 2.A...<>.V...A..A...V..V...<> <>...A..A...V..V...A. <>...V. 2 <>...<>.A...A..V...V. <>...<>.A...A..V...V..A...A..V...V. Combine python scripts with the SAT-solver MiniSAT (fast, lightweight, pre-compiled for my system.)

Gadget Search request candidate region, R, from MiniSAT, satisfying good signals. MiniSAT to test each bad signal in R. if every test UNSATISFIABLE R is the answer! Else, forbid R in next iteration.

Huge search space CC#...#CC CC#...#CC CC#...#CC CC#..#.#CC XXX.#..XXX XXX..#.XXX CC#.#..XXX CC#...XXX CC#...XXX CC#...XXX Require and forbid some grid squares (#, X) to be in R to reduce number of disconnected regions. Search a smaller area.

It worked! T T Inputs Output T

Recall the context a b c a b c d b d

Recall the context a b c a b c d b d

Verifiable by hand T T F F T F F F In Out In Out In Out In Out T T F F TT T TF F FT F FF F

Verifiable by hand F T * T T F In Out In Out In Out * F T *F T F* T TT F Impossible AND gate coverings, where * denotes F or T.

Testing a clause T F

Simply Connected DTC Is DTC NP-hard even if the region is simply connected?

Lozenge 5-Tatami Covering

Lozenge 5-Tatami Covering Is Lozenge 5-Tatami Covering NP-hard?

Domino +-Tatami Covering What if we forbid tiles from meeting corner to corner? This was mildly advocated by Don Knuth, but it conflicts somewhat with the broader tatami structure.

Domino +-Tatami Covering What if we forbid tiles from meeting corner to corner? This was mildly advocated by Don Knuth, but it conflicts somewhat with the broader tatami structure. Is Domino +-Tatami Covering NP-hard?

Water Strider Problem

Water Strider Problem

Water Strider Problem INSTANCE: A rectilinear region, R, with n segments, and vertices in R 2. QUESTION: Is there a configuration of at most k water striders, such that no two water striders intersect, and no more water striders can be added?

Thank you Thanks also to Bruce Kapron and Don Knuth. Part of this research was conducted at the 9th McGill-INRIA Workshop on Computational Geometry. Know of a postdoctoral opportunity? Let me know at alejandro.erickson@gmail.com My CV: alejandroerickson.com/postdocsearch