Monomino-Domino Tatami Coverings

Similar documents
Domino Tatami Covering is NP-complete

arxiv: v1 [math.co] 19 Mar 2014

COMPUTER ENGINEERING PROGRAM

Maximally distant genomes under the DCJ operation

GARDEN BED PAVERS. Number of Pavers Garden Bed

LESSON 7: THE CONCEPT OF PLACEMENT OF DESIGN

Advanced Digital Signal Processing Part 4: DFT and FFT

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

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

Coupling Multiple Hypothesis Testing with Proportion Estimation in Heterogeneous Categorical Sensor Networks

Lesson 25 Analysis Of Complete Vapour Compression Refrigeration Systems

Minimax: A Multiwinner Election Procedure

Transient Groundwater Analysis with Slope Stability

Queen St E & Leslie St Noise Analysis Toronto, Ontario. Toronto Transit Commission Streetcar Department 1900 Yonge Street Toronto, ON M4S 1Z2

A Method for the Hierarchy of CALMO Tests

Design of Divided Condensers for Desiccant Wheel-Assisted Separate Sensible and Latent Cooling AC Systems

PRELIMINARY REPORT. HIGHWAY 18 CORRIDOR NEIGHBORHOOD PLAN VILLAGE OF DOUSMAN November, 2014

GAS DETECTOR LOCATION. Ø.Strøm and J.R. Bakke, GexCon AS, Norway

A Energy Efficient Approach to Processing Spatial Alarms on Mobile Clients

HAMMING AND GOLAY CODES

Residential Cluster, Ahmedabad: Housing based on the traditional Pols

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

Energy Conservation with PARAG Energy Efficient Axial Flow FRP Fans

Selecting Circulators TD10 EFFECTIVE: SUPERSEDES:

BACnet Points List for Single Compressor Water to Water PROSSWWE-01

1.1. SYSTEM MODELING

Symmetries, patterns and orbifolds

Autodesk Robot Structural Analysis Robot API New Features

«9 ~ Leucaena hedgerow c c c c c c c Maize plants in

ENSC 388: Engineering Thermodynamics and Heat Transfer

CARRIER edesign SUITE NEWS. Modeling 100% OA Constant Volume Air Systems. Volume 6, Issue 1. Page 1 Modeling 100% OA Constant Volume Air Systems

Security Management System - Configuring Video Analytics

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

Working With DHPS and Other Variable Capacity Heat Pumps. October 05, 2017

Numerical Simulation of a New Cooling System for Commercial Aircrafts

Evaluating Component Solver Contributions to Portfolio-Based Algorithm Selectors

EQ-ROBO Programming : Cliff Check Robot

OIL AND GAS INDUSTRY

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

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

THERMOSYS 4.3. Getting Started Guide

How to Use Fire Risk Assessment Tools to Evaluate Performance Based Designs

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

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

Autodesk Moldflow Insight AMI Molding Window Analysis

MULTISITE. Multisite Activation. Microsoft Dynamics AX White Paper

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

Gas Piping Facts. Information for properly sizing gas lines for use with tankless water heaters and other gas appliances TANKLESS WATER HEATING

I ll be talking about the Designing Sustainable Landscapes project today. This is a large integrated modeling effort our group at UMass has been

Sample presentation using Beamer Delft University of Technology

Implementation of High Throughput Radix-16 FFT Processor

INFORMATION FOR TANKLESS WATER HEATERS

Smart Combiners Installation Guide. For Obvius A89DC-08 sensor modules

HEATER E L E CT R I C DUCT RENEWAIRE EVERYWHERE EVERY GEOGRAPHY, EVERY CLIMATE, EVERY HOME, EVERY BUILDING AND EVERY APPLICATION

An Overview of Procedural Fire. How to model procedurally spreading fire

Case Study 1 Underground Car Park

Flexible learning range.

Electric radiator tests

What is Room EQ Wizard (aka REW)?

Smoke Layer Height and Heat Flow through a Door

LEARNING LYNX Building Architectural Awareness

Air distribution systems. Opticlean OC-Q...

Techniques of Heat Transfer Enhancement and their Application. Chapter 4. Performance Evaluation Criteria for Two-Phase Heat Exchangers

Computer Modelling and Simulation of a Smart Water Heater

Variable Refrigerant Flow (VRF) Systems

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

Acca Residential Load Calculation Manual Also Called Manual J

THE A.A.B. COMPANY 615 McCallie Avenue Chattanooga, TN

2-4/114 Number Board CC.2.1.K.A.1

Measure Lifetime Derived from a Field Study of Age at Replacement

i-vu CCN 4.0 Owner s Guide

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

Refinery Vacuum Towers. State of the Art. (Extended Abstract)

SMT Quick-Tips: selecting a reflow oven. Robert Voigt, DDM Novastar

Leduc Industrial Outline Plan SE W4

Future Community in Istanbul

Fuzzy Logic and Fuzzy Systems

CORE Assessment Module Module Overview

DEVELOPMENT OF THE TANGO ALARM SYSTEM

Thick-Film Heater achieves Superior Performance in Thermal Response, Uniformity and Efficiency.

3-5 / Math: Planting a Square Foot Garden

Shape the Design with Sound Performance Prediction

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

Differential Pressure Transmitter deltabar S PMD 230/235 deltabar S FMD 230/630/633 with ma output signal

WeatherLink for Alarm Output Addendum

AN ANALYSIS OF THE PERFORMANCE OF RESIDENTIAL SMOKE DETECTION TECHNOLOGIES UTILIZING THE CONCEPT OF RELATIVE TIME

Smart Homes Modelling and Implementation

the production region, magnet and 1st range region, and the 2nd range region. These were added to arrive at a totgl number of V

CERBERUS: A NEW MODEL TO ESTIMATE SIZE AND SPREAD FOR FIRES IN TUNNELS WITH LONGITUDINAL VENTILATION

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

Statistical cluster analysis and visualisation for alarm management configuration. Butters, T D and Güttel, S and Shapiro, J L and Sharpe, T J

Plowing the Streets of Pittsburgh

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

TRACE 700. Slide 1. Hello, my name is Nick Cavitt and I m a marketing engineer in the C.D.S. group at TRANE.

DELOMATIC 400, DM-400 HYDRO

Manage Alarms. Before You Begin CHAPTER

Multistate Alarm. Introduction

Advanced Features Guide of Visual MIBrowser Pro

Characterization of a Heat Sink with Embedded Heat Pipe with Variable Heat Dissipating Source Placement for Power Electronics Applications

WHITE PAPER. ANSI/AHRI Standard for Fan and Coil Evaporators - Benefits and Costs

Transcription:

Monomino-Domino Tatami Coverings Alejandro Erickson Joint work with Frank Ruskey at The University of Victoria, Canada December 4, 2013 Durham University, ACiD Seminar.

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 Generalized by Ruskey, Woodcock, 2009, using Hickerson s decomposition.

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-hard?

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.

DTC is NP-hard 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-hard.

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

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.

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.

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:

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.

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.

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?

The Structure of Tatami Coverings

What are the consequences of this arrangement?

This placement is forced.

And this placement is also forced.

As is this.

And this.

Ditto.

Etc.

Until we reach the boundary.

This a ray. They can go NE, NW, SE, SW.

? How do rays start? (The question mark.) Not a vertical domino.

Monomino-Domino Tatami Coverings

Monomino-Domino Tatami Coverings vee bidimer vortex loner

We can enumerate and generate them! For example, the number of coverings of the n n square with n monominoes is n2 n 1.

We can enumerate and generate them! For example, the number of coverings of the n n square with n monominoes is n2 n 1. Generating functions Let X k be a set of a k combinatorial objects for each k 0. The generating function for {X k } k 0 is f (z) = a 0 z 0 + a 1 z 1 + a 2 z 2 + a 3 z 3 + a 4 z 4 +.... If a k = 0 for some k K, then f (z) is a polynomial.

Email from Knuth to Ruskey:... I looked also at generating functions for the case m = n, with respect to horizontal versus vertical dominoes.... for example when n = 11, the generating function for tatami tilings with exactly 11 monominoes and 55 dominoes turns out to be 2(1 + z) 5 (1 + z 2 ) 2 (1 z + z 2 )(1 + z 4 )(1 z + z 2 z 3 + z 4 )p(z), when subdivided by the number of say horizontal dominoes, where p(z) is a fairly random-looking irreducible polynomial of degree 36. One naturally wonders if there s a good reason for so many cyclotomic polynomials in this factorization....

Count n n coverings with n monominoes, h horizontal dominoes A diagonal flip is an operation on coverings which preserves the tatami restriction, and changes the orientation of some dominoes.

Count n n coverings with n monominoes, h horizontal dominoes Good: Bad: Solution: Every covering is obtainable via a sequence of diagonal flips. Conflicting flips complicate enumeration. Equivalence classes with independent flips.

Classes of coverings with independent diagonal flips Longest flipped diagonal in green. Flippable diagonals are independent of one another.

Classes of coverings with independent diagonal flips Longest flipped diagonal in green. Flippable diagonals are independent of one another. Can change s to s in a predictable way.

Classes of coverings with independent diagonal flips Longest flipped diagonal in green. Flippable diagonals are independent of one another. Can change s to s in a predictable way. Consider k-sum subsets of multiset {1, 2,..., 9, 1, 2,..., 5}

Generating polynomial (E.,Ruskey) S n (z) = n k=1 (1 + z k ) generates k-sum subsets of {1, 2,..., n}. (algebra omitted...) Let VH n (z) = P n (z) j 1 S n 2 2 j (z) where P n (z) is a polynomial. For odd n, the kth coefficient of VH n (z) is the number of n n coverings with n monominoes and h horizontal dominoes.

Generating polynomial (E.,Ruskey) S n (z) = n k=1 (1 + z k ) generates k-sum subsets of {1, 2,..., n}. (algebra omitted...) Let VH n (z) = P n (z) j 1 S n 2 2 j (z) where P n (z) is a polynomial. For odd n, the kth coefficient of VH n (z) is the number of n n coverings with n monominoes and h horizontal dominoes. Cyclotomic polynomial factors: n S n (z) = φ n+j 2j (z) j=1 2j

... where p(z) is a fairly random-looking irreducible polynomial... Not as random as it looks. e.g. complex zeros of P n (z). n is odd. Large n plotted with darker, smaller dots.

... where p(z) is a fairly random-looking irreducible polynomial... Not as random as it looks. deg(p n (z)) = n 2 k=1 Od(k), where Od(k) is the largest odd divisor of k.

... where p(z) is a fairly random-looking irreducible polynomial... Not as random as it looks. deg(p n (z)) = n 2 k=1 Od(k), where Od(k) is the largest odd divisor of k. P n (1) = n2 ν(n 2) 1, where ν(k) is the binary weight of k.

... where p(z) is a fairly random-looking irreducible polynomial... Not as random as it looks. deg(p n (z)) = n 2 k=1 Od(k), where Od(k) is the largest odd divisor of k. P n (1) = n2 ν(n 2) 1, where ν(k) is the binary weight of k.... etc. But, is P n (z) irreducible?

... where p(z) is a fairly random-looking irreducible polynomial... Not as random as it looks. deg(p n (z)) = n 2 k=1 Od(k), where Od(k) is the largest odd divisor of k. P n (1) = n2 ν(n 2) 1, where ν(k) is the binary weight of k.... etc. But, is P n (z) irreducible? Can it be computed without dividing VH n (z) = P n (z) j 1 S n 2 2 j (z).

Open problems Efficient combinatorial generation All tatami coverings of the 3 4 grid.

Open problems Efficient combinatorial generation Generalizations to other tiles All tatami coverings of the 3 4 grid.

Lozenge 5-Tatami Covering

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

Tomoku! INSTANCE: A r c grid and tiles completely contained in each row and column. QUESTION: Is there a tatami covering of this grid with these row and column projections?

Tomoku! INSTANCE: A r c grid and tiles completely contained in each row and column. QUESTION: Is there a tatami covering of this grid with these row and column projections?

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. Slides at alejandroerickson.com