|
ADS
Algorithms and Data Structures
|
Files | |
| Domino.h | |
| The square tiling (BOUNDED TILING, the DOMINO LIMITATO of the book) of chapter 18: \( n \times n \) squares to cover with copies of \( m \) oriented tiles, each split by its diagonals into four colored quarters, never rotated, the tile \( d = D[ 0 ] \) in the corner \( ( 0 , 0 ) \), and touching sides of the same color. | |
| EasyCases.h | |
| The polynomial halves of the pairs of table 19.1 of the conclusion, problems close to NP-hard ones but solvable in polynomial time, and the special cases that the conclusion names, the interval graphs: | |
| Nondeterminism.h | |
| The nondeterministic algorithms of section 18.2 simulated by enumeration (section 18.3). | |
| Problems.h | |
| The problems in NP of chapter 18, each with its polynomial certificate, which checks a proposed solution, and an enumeration by backtrack, which decides the problem in exponential time and returns a solution if there is one. | |
| Reductions.h | |
| The polynomial reductions of chapter 18: a function \( f \) from the inputs of \( A \) to the inputs of \( B \), computable in polynomial time, such that \( x \) is a YES of \( A \) if and only if \( f( x ) \) is a YES of \( B \); then \( A \) is no harder than \( B \) (\( A \propto B \)). | |