Строительный блокнот  Automata methods and madness 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 [ 175 ]

10.4 Additional NP-Complete Problems.................447

10.4Л Describing NP-complete Problems.............447

10.4.2 The Problem of Independent Sets..............448

10.4.3 The Node-Cover Problem..................452

10.4.4 The Directed Hamilton-Circuit Problem..........453

10.4.5 Undirected Hamilton Circuits and the TSP........460

10.4.6 Summary of NP-Complete Problems............461

10.4.7 Exercises for Section 10.4..................462

10.5 Summary of Chapter 10.......................466

10.6 References for Chapter 10......................467

11 Additional Classes of Problems 469

11.1 Complements of Languages in AfT.................470

11.1.1 The Class of Languages Co-AfV ..............470

11.1.2 NP-Complete Problems and Co-NV............471

11.1.3 Exercises for Section 11,1..................472

11.2 Problems Solvable in Polynomial Space ..............473

11.2.1 Polynomial-Space Turing Madiinea.............473

11.2.2 Relationship oiVS and MVS to Previously Defined ClasBes474

11.2.3 Deterministic and Nondeterministic Polynomial Space . . 476

11.3 A Problem That Is Complete for 5................478

11.3.1 PS-Completeness.......................478

11.3.2 Quantified Boolean Formulas................479

11.3.3 Evaluating Quantified Boolean Formulas..........480

11.3.4 PS-Completeness of the QBF Problem...........482

11.3.5 Exercises for Section 11.3..................487

11.4 Language Classes Based on Randomization............487

11.4.1 Quicksort: an Example of a Randomized Algorithm , , .488

11.4.2 A Turing-Machine Model Using Randomization......489

11.4.3 The Language of a Randomized Turing Machine.....490

11.4.4 The Class ТгГ ........................492

11.4.5 Recognizing Languages in ItV ...............494

11.4.6 The Class ZW .......................495

11.4.7 Relationship Between :R.:P and ............496

11.4.8 Relationships to the Classes P and ЛТ..........497

11.5 The Complexity of Primality Testing................498

11.5.1 The Importance of Testing Primality............499

11.5.2 Introduction to Modular Arithmetic............501

11.5.3 The Complexity of Modular-Arithmetic Computations . . 503

11.5.4 Random-Polynomial Primality Testing...........504

11.5.5 Nondeterministic Primality Tests..............505

11.5.6 Exercises for Section 11.5..................508

11.6 Summary of Chapter 11.......................508

11.7 References for Chapter 11......................510

Index 513



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 [ 175 ]