Tài liệu Thuật toán Algorithms (Phần 1) doc
... useful algorithms. The book consists of forty chapters which are grouped into seven major parts: mathematical algorithms, sorting, searching, string processing, geomet- ric algorithms, graph algorithms ... . . Algorithms, Outline of Topics 1. Preview. . . . . . . . . . . . . . . . . . . . . . . Pascal, Euclid’s Algorithm, Recursion, Analysis of Algorithms Implementing Algorithms MA...
Ngày tải lên: 15/12/2013, 02:16
... book. Analysis of Algorithms In this short chapter we’ve already seen three different algorithms for the same problem; for most problems there are many different available algorithms. How is ... need to be studied in order to understand the algorithms. Simple algorithms can give rise to complicated data structures and, conversely, complicated algorithms can use simple data structu...
Ngày tải lên: 15/12/2013, 02:16
... software capabilities certainly can have a significant impact on specific algorithms, but good algorithms on old machines are, for the most part, good algorithms on new machines. One reason for this is that the ... merits further study. The many variants on algorithms for the union-find problem of Chapter are ably categorized and compared by van Leeuwen and The algorithms for shorte...
Ngày tải lên: 15/12/2013, 02:16
Tài liệu Thuật toán Algorithms (Phần 48) docx
... performance of various algorithms, we can look forward to the development of general-purpose parallel computers that will provide improved performance for a wide variety of algorithms. 470 Exercises 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Outline ... step 6; C computes the value 6 for B’s use at step 6, and E computes its first nonaero value ( -1) for use by D at step 6. The computation of the sec...
Ngày tải lên: 15/12/2013, 02:16
Tài liệu Thuật toán Algorithms (Phần 49) doc
... root, is 1 and the second, is the principal root. Also, for N even, the root is -1 (because = 1). The precise values of the roots are unimportant for the moment. We’ll be using only simple properties
Ngày tải lên: 15/12/2013, 02:16
Tài liệu Thuật toán Algorithms (Phần 51) doc
... reference in the description of the algorithm below.) In dimensions, we intersect halfspaces defined by 1)- dimensional hyperplanes to define the n-dimensional simplex, and bring in an dimensional hyperplane ... problems are amenable to formula- tion as linear programs and solution by the simplex method. Better algorithms are known for some specific problems, but few problem-solving techn...
Ngày tải lên: 15/12/2013, 02:16
Tài liệu Thuật toán Algorithms (Phần 52) doc
... 0.00 0.00 0.00 0.00 1.00 0.00 24.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 4.00 This (N + 1)- by-(M + 1) matrix contains the coefficients of the linear program in standard form, with the (M column ... operation of moving from point to point on the simplex, in search of the solution. The several algorithms which are commonly used differ in essential details having to do with the order in...
Ngày tải lên: 15/12/2013, 02:16
Tài liệu Thuật toán Algorithms (Phần 53) docx
... something like or to be considered efficient. We’ve generally considered quadratic algorithms to be bad and cubic algorithms to be awful. But for the problems that we’ll consider in this and the ... graph. For all of the algorithms in those chapters, it was possible to arrange the computation so that each node is visited just once, and this leads to very efficient algorithms. For the H...
Ngày tải lên: 15/12/2013, 02:16
Tài liệu Thuật toán Algorithms (Phần 54) doc
... Nondeterministic Polynomial- Time Algorithms The great disparity in performance between “efficient” algorithms of the type we’ve been studying and brute-force “exponential” algorithms that check each possibility ... algorithms is obvious: for many problems we have the luxury of several efficient algorithms to choose from. Many of the algorithms that we have studied are routinely u...
Ngày tải lên: 15/12/2013, 02:16
Tài liệu Thuật toán Algorithms (Phần 7) doc
... discussion is to gain some intuitive feeling for how divide-and-conquer algorithms achieve efficiency, not to do detailed analysis of the algorithms. Indeed, the particular recurrences that we’ve just ... applications (though the effect, is not always so dramatic): simple algorithms work best for small problems, but sophisticated algorithms can reap tremendous savings for large problem...
Ngày tải lên: 24/12/2013, 11:15