IsElement(K,S) : | ist , wenn ja, return Val(K) |
---|---|
Insert(K,S : | |
Delete(K;S) : | |
FindMin(S) : | return |
FindMax(S) : | return |
DeleteMin(S) : | |
DecreaseKey() : | Ersetze K durch |
Union(S1,S2) : | |
Find(K) : | Falls , so finde (K,Val(K)) |
Merge(S1,S2) : | , falls |
Split(S1,K,S2) : | |
Concatenate(S1,S2) : | ; Voraussetzung: FindMax(S1) FindMax(S2) |
Datenstrukturklasse | mindestens angebotene Funktionen | realisiert in |
Wörterbuch (Dictionary) | IsElement() , Insert() , Delete() | Hashtable, balancierte Bäume |
Vorrangwarteschlange (Priority Queue) | FindMin() , Insert() , Delete() , [IsElement()] | balancierte, Leftist-, Binomialbäume |
Mergeable heaps | FindMin() , Insert() , Delete() , Merge() | 2-3-Bäume, Binomialwälder, Leftist-Bäume |
Concatenable queues | FindMin() , Insert() , Delete() , Concatenate() | 2-3-Bäume |