대신 수학 stackexchange에 넣어야할지 잘 모르겠지만 오. CLRS의 페이지 (300)에CLRS의 주장에 혼동 이진 검색 트리 증명을 임의로 만들었습니다
...
Theorem 12.4
The expected height of a randomly built binary search tree on n distinct keys is O(lgn).
그들은 3 개 확률 변수 ...
'Xn' is the height of a randomly built binary search on n keys.
'Yn' is the "exponential height", where Yn = 2^(Xn)
'Rn' is the position that the root key would occupy if the key's were sorted, its rank.
및 표시 확률 변수 Zn,1 Zn,2 Zn,3 ... Zn,n
...
'Zn,i = I{Rn = i}'
을 정의 그래서 그들은 증거를 만들기 위해 계속 진행하지만 (텍스트 참조), 그 가운데에서 다음과 같은 주장을합니다 ...
We claim that the indicator random variable Zn,i = I{Rn = i} is independent of the
values of Yi-1 and Yn-i. Having chosen Rn = i, the left subtree (whose exponential
height is Yi-1) is randomly built on the i-1 keys whose ranks are less than i. This
subtree is just like any other randomly built binary search tree on i-1 keys.
Other than the number of keys it contains, this subtree's structure is not affected
at all by the choice of Rn = i, and hence the random variables Yi-1 and Zn,i are
independent.
마찬가지로 Yn-1. 내 문제는 그 부분입니다 ... 예, 하위 트리의 구조는 Rn의 영향을받지 않지만 Rn이 하위 트리의 키 수에 영향을 미칩니다. 의존성은 서브 트리의 높이를 어떻게 제한하는지에 따라 달라집니다.
분명히 중요한 관계가 누락되었습니다. 감사합니다. 감사합니다.
나는 그가 "어떤 책에 대해 이야기하고 있는지 알아 내기 위해"CLRS 알고리즘 "을 검색해야했던 유일한 나이 든 사람입니까? –
@ 짐 : 아마도. CLR 도서는 매우 유명합니다. @confused : 저는이 Q를 math.se로 이동하도록 플래그했습니다. –