prev up inhalt next


Konstruktion eines bitonischen Sortierers

Input: bitonische Folge der Länge 2k
Output: sortierte Folge der Länge 2k


2k-Bitonic-Sort teilt den Input in zwei bitonische Folgen auf und sortiert diese mit jeweils einem 2k - 1-Bitonic-Sort.


Rekursive Darstellung eines 2k-Bitonic-Sort $\uparrow$

Sei g(k) die Laufzeit für 2k-Bitonic-Sort
g(1) = 1
g(k) = 1 + g(k - 1)
$\Rightarrow$ g(k) = k


prev up inhalt next