Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this question, we consider the Magnet Tile Building Problem: you have a set of r different shapes of tiles that come in k colours.
In this question, we consider the Magnet Tile Building Problem: you have a set of r different
shapes of tiles that come in k colours. Given a structure, you want to know if its possible to select a colour
for each tile such that no connecting tiles share a colour. The input to the Magnet Tile Building Problem
consists of:
a list of tiles in the structure numbered from to n each of which has an identifier from to r
specifying the shape of the tile;
a set of m ordered pairs i jwith i j which indicates that tile i is connected to tile j;
the number of available colours k
You can assume that you have arbitrarily many tiles in each shape and colour, and that any input youre
given will correspond to a structure that is physically possible to build with your tiles so for example, you
wont have a triangle thats supposed to be connected to other triangles of the same size
points Show how to reduce an arbitrary instance of the magnet tile building problem into an instance
of Boolean Satisfiability SAT Hint: my reduction uses nk variables
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started