|
ADS
Algorithms and Data Structures
|
Files | |
| Approximation.h | |
| The approximation algorithms of section 19.2 and of the exercises 19.6 and 19.8. | |
| BranchAndBound.h | |
| The branch-&-bound algorithms of section 19.3 and of the exercises 19.9 to 19.12: the enumeration of chapter 16 that skips the subtree of a sequence of choices \( S \) whose lower bound \( \mathit{lb}( S ) \) is not below the cost \( \mathit{minCost} \) of the best solution found so far. | |
| FifteenPuzzle.h | |
| The FIFTEEN PUZZLE of section 19.5 (the GIOCO DEL QUINDICI of the book, Samuel Loyd, 1878): \( n^2 - 1 \) tiles numbered 1 to \( n^2 - 1 \) on an \( n \times n \) grid with a hole, a move slides a tile next to the hole into it, and the goal has the tiles in increasing order and the hole last. | |
| Heuristics.h | |
| The heuristics of section 19.4 and of the exercises 19.13 and 19.16 to 19.19: feasible solutions, neither optimal nor approximate, greedy or by local search. | |
| Pseudopolynomial.h | |
| The pseudopolynomial algorithms of section 19.1 and of the exercises 19.1 to 19.5. | |