\documentclass[12pt]{article} \usepackage{wide,me} \parindent0pt

Randomized incremental construction

Special sampling idea:

Method:

Backwards analysis

Trapezoidal decomposition:

Motivation:

Basic idea:

Definition.

Randomized incremental construction:

Implementation

Analysis:

Search structure

Starting idea:

Goal: apply binary search in slabs, without $n^2$ space

The structure:

Inserting an edge contained in a trapezoid

Inserting an edge that crosses trapezoids

Search time analysis

Treaps

Dictionaries for ordered sets

Binary tree.

Tree balancing

Returning to average case:

Choosing priorities

Treaps.

Depth $d(x)$ analysis

lemma: for $x$ rank $k$, $E[d(x)]=H_k+H_{n-k+1}-1$

Rotation analysis