10_Vorlesung_17_Jan_2008

10_Vorlesung_17_Jan_2008 - 17.01.2008 [email protected]..

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 17.01.2008 [email protected] Datenstrukturen & Algorithmen VO 708.031 10. Vorlesung, am 17.Jan. 2008 17.01.2008 [email protected] Ohne Vorsortierung Mit Vorsortierung • Sequentielle Suche • Speicherung nach Zugriffswahrscheinlichkeiten • Selbstanordnende Felder • Binärsuche (Binary Bisection Search) • Interpolationssuche • Fastsearch Wiederholung – Suchen in linearen Feldern 17.01.2008 [email protected] Laufzeitverhalten der Suchverfahren O(n) O(n) Unsortiert Sequentielles Suchen O ( n ) O (log log n ) Interpolationssuche O (log n ) O (log n ) Binärsuche Schlechtester Fall Mittlerer Fall 17.01.2008 [email protected] FastSearch Kombination von Binärsuche und Interpolationssuche. Das Ergebnis ist O(log log n) im mittleren Fall und O(log n) im schlechtesten Fall . Idee: Binärsuche Interpolationssuche 17.01.2008 [email protected] FastSearch rekursive Version * 17.01.2008 [email protected] Laufzeitverhalten der Suchverfahren O (log n ) O (log log n ) „FastSearch“ O(n) O(n)...
View Full Document

This note was uploaded on 11/19/2009 for the course HKJLHKJL 565 taught by Professor Fhfh during the Spring '09 term at University of Graz.

Page1 / 16

10_Vorlesung_17_Jan_2008 - 17.01.2008 [email protected]..

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online