6.890 1 Overview - Courses.csail.mit.edu

2y ago
2 Views
1 Downloads
218.25 KB
5 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Joanna Keil
Transcription

and EXP .It’s known that P N P P SP ACE EXP R.If X is a complexity class, we say a problem is X-hard iff it’s at least “as hard as” every problem in X.If X is a complexity class, we say a problem is X-complete iff it’s X-hard and in X, where X is acomplexity class, like ACE—–completePNPPSPACEEXPR3EXP—–complete

Example: Rush Hour (see section 4) is PSPACE-complete. It’s in NPSPACE (which equals PSPACEby Savitch’s Theorem1 ) because keeping track of the state of the board takes only polynomially much space,and an algorithm can just guess the correct moves.A reduction from A to B is a polynomial-time algorithm to convert an instance of A to an instance ofB that takes solutions of A to solutions of B. So, if we have an algorithm to solve B, we can solve A byconverting to B and solving B, and we say B is as hard as A iff there’s a reduction from A to B.2To prove a problem B X-hard, we reduce from a problem A known to be X-hard to B.1 http://en.wikipedia.org/wiki/Savitch’s theorem2 This is called a “one-call” or “Karp” polynomial-time reduction. One could imagine reductions allowing something otherthan polynomial time, or allowing multiple calls to B, but in this class we’ll usually not use them.4

3MarioWe’ll prove that Super Mario Brothers 13 is NP-hard4 . The problem we’ll reduce from is 3-SAT (“3SATisfiability”): given a list of clauses like1. x5 OR x3 OR (NOT x1 )2. x7 OR (NOT x2 ) OR (NOT x5 ).where each clause consists of three literals, where each literal is either a variable or its negation, is therean assignment of TRUE or FALSE to each variable that makes every clause TRUE? 3-SAT is known to beNP-complete.Given an instance of 3-SAT, which has some variables, literals, and clauses, we’ll make gadgets to representthem in Mario. A variables gadget is a place where you have to fall in one direction or the other, which wethink of as corresponding to setting the variable TRUE or FALSE. A clause gadget is a set of fire bars torun through, just after three boxes in the floor containing invincibility stars that last long enough to let yourun through the fire bars. Each box containing an invincibility star is breakable from the gadget for exactlyone literal in the clause; that is, you can release an invincibility star for a clause gadget if and only if in atleast one of that clause’s variables’ gadgets you made the satisfying choice.The gadgets are arranged so that you first set each variable (and can pop out all the corresponding stars),then run through the clause gadgets in order, which is possible if and only if one literal from each of themwas satisfied, that is, if and only if there’s a satisfying assignment to the original 3-SAT problem.The graph of paths between the variable gadgets and clause gadgets isn’t planar, so there’s also a crossovergadget for the paths, guaranteeing that when entered from the left it can only be exited from the right, andwhen entered from the bottom it can only be exited from the top. Note that the crossover gadget breaks ifyou go through it both ways, but that’s ok because we only care about reachability.4Rush HourWe’ll prove that Rush Hour5 is PSPACE-hard6 . The problem we’ll reduce from is Constraint Logic: You’regiven a graph with red edges (with weight 1) and blue edges (with weight 2), and the constraint that everyvertex must have at least 2 weight worth of edges incoming. A legal move is to reverse an edge, preservingthat constraint. One can construct things like AND and OR gates. For instance, a vertex with three blueedges, two of them thought of as inputs and one of them thought of as an output, is like an OR gate: theoutput can point out (which we think of as TRUE) iff the first input OR the second input points in (whichwe think of as TRUE). A problem instance gives a graph and asks whether you can reverse a given edge.We can construct AND gadgets and protected-OR gadgets (in which we guarantee that not both of theinputs will be TRUE, which we have to guarantee because the gadget would fall apart otherwise) in RushHour, so Rush Hour is PSPACE-hard.3 http://en.wikipedia.org/wiki/Super Mario Bros4 Prooffrom http://erikdemaine.org/papers/Nintendo FUN2014/.5 http://www.thinkfun.com/mathcounts/play-rush-hour6 Prooffrom http://erikdemaine.org/papers/NCL TCS/5

3 Mario We’ll prove that Super Mario Brothers 13 is NP-hard4. The problem we’ll reduce from is 3-SAT (\3-SATis ability"): given a list of clauses like 1. x 5 OR x 3 OR (NOT x 1) 2. x 7 OR (NOT x 2) OR (NOT x 5)

Related Documents:

890.1150 Water Service Pipe Installation . 890.1160 Potable Water Pumping and Storage Equipment . 890.1170 Potable Water Supply Tanks and Auxiliary Pressure Tanks . 890.1180 Flushing/Disinfection of Potable Water System . 890.1190 Water Supply Control Val

is contained in the MAC of TM 11-5820-890-20-2, and RPSTL of TM 11-5820-890-20P. 0.2 GENERAL INFORMATION. The MK becomes operable when all the radio set components are installed in the vehicle and correct power is supplied. Refer to TM 11-5820-890-20-1 or TM 11-5820-890-20-4 for installation, Operational (OP) Check

contained in the MAC of TM 11-5820-890-20-2, TM 11-5820-89-20-4 and RPSTL of TM 11-5820-890-20P. 0.2 GENERAL INFORMATION. The MK becomes operable when all the radio set components are installed in the vehicle and correct power is supplied. Refer to TM 11-5821-5820-89 or TM 11-5820-890-20-4 for installation, Operational (OP) Check instructions .File Size: 398KBPage Count: 50

contained in the MAC of TM 11-5820-890-20-2, TM 11-5820-890-20-4 and RPSTL of TM 11-5820-890-20P. 0.2 GENERAL INFORMATION. The MK becomes operable when all the radio set components are installed in the vehicle and correct power is supplied.

Cisco 890 Series Integrated Services Router with Integrated 802.11n Access Point Product Overview Cisco 890 Series Integrated Services Routers are fixed-configuration routers that provide collaborative business solutions for s

investment protection for enterprise small branch offices and service provider managed services applications. Figure 1. Cisco 890 Series Integrated Services Router with Integrated 802.11n Access Point Product Overview Cisco 890 Series Integrated Services Routers are fixed-configuration routers that provide

2017 NA NA NA NA NA Harley-Davidson Dyna Low Rider FXDL 2006 2017 NA NA NA NA NA Harley-Davidson Dyna Street Bob FXDB 2006 2017 NA NA NA NA NA . Electra Glide Ultra Classic FLHTCU 2014 Cont. 890-27-100 890-27-102 890-27-003 Harley-Davidson Touring Electra Glide Ultra Limited FLHTK . always see the Vehicle Service Manual for vehicle specific .

FIRST LANGUAGE RUSSIAN 0516 14,890.00 FIRST LANGUAGE THAI 0518 A 14,890.00 FOREIGN LANGUAGE FRENCH 0520 Y 19,040.00 FIRST LANGUAGE KOREAN 0521 AY 14,890.00 . GCE AS/A2/A LEVEL All fees listed in Bangladeshi Taka (BDT) Subject Name Syllabus Option Total Fee (BDT) ENGLISH GENERAL PAPER 8021 Y 14,795.00 .