• 沒有找到結果。

(Supplement of Page 5) Four techniques for finding lower bounds. (1) Comparison tree. (2) A particular problem instance. (3) State transition. (4) Problem reduction.

N/A
N/A
Protected

Academic year: 2022

Share "(Supplement of Page 5) Four techniques for finding lower bounds. (1) Comparison tree. (2) A particular problem instance. (3) State transition. (4) Problem reduction."

Copied!
3
0
0

加載中.... (立即查看全文)

全文

(1)

(Supplement of Page 5)

Four techniques for finding lower bounds.

(1) Comparison tree.

(2) A particular problem instance.

(3) State transition.

(4) Problem reduction.

(2)

(Supplement of Page 7)

The progress of any comparison-based searching algorithm can be described by a path in a binary comparison tree.

Each internal node of the tree represents a comparison between x and some A[i].

Since the tree contains at least n internal nodes,

which represent the n possible successful occurrences of x in A, the tree depth is Ω(logn).

Comparison-based searching has a lower bound of Ω(logn).

(3)

(Supplement of Page 19)

For example, n=5.

There are five node-disjoint paths from 00000 to 01111 whose maximal length is n+1=6.

(00000, 01000, 01100, 01110, 01111) (00000, 00100, 00110, 00111, 01111) (00000, 00010, 00011, 01011, 01111) (00000, 00001, 01001, 01101, 01111)

(00000, 10000, 11000, 11100, 11110, 11111, 01111)

參考文獻

相關文件

In the comparison tests the idea is to compare a given series with a series that is known to be convergent or divergent.. For instance,

Kim [ 5] gave a clever O(n) time algorithm based on a geometric interpretation of the problem, which transforms the finding of maximum-density segment into the finding of

Figure 3: Comparison of the partitioning of the hemisphere effected by a VQPCA-based model (left) and a PPCA mixture model (right). The illustrated boundaries delineate regions of

– Taking any node in the tree as the current state induces a binomial interest rate tree and, again, a term structure.... An Approximate

– Taking any node in the tree as the current state induces a binomial interest rate tree and, again, a term structure.... An Approximate Calibration

– Taking any node in the tree as the current state induces a binomial interest rate tree and, again, a term structure.... Binomial Interest Rate

function TREE-SEARCH(problem, strategy) return a solution or failure Initialize search tree to the initial state of the problem loop do. if no candidates for expansion then

In computer science, the treap and the randomized binary search tree are two closely related forms of binary search tree data structures that maintain a dynamic set of ordered keys