Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
Tài liệu giảng dạy về các thuật toán sắp xếp nâng cao, bao gồm các ứng dụng thực tiễn, phân loại các thuật toán sắp xếp khác nhau và các trường hợp học tập cụ thể để lựa chọn thuật toán phù hợp. Nội dung cũng đề cập đến phương pháp phân chia 3 chiều để xử lý các khóa trùng lặp.
Vorschau wird generiert...
Sorting applications Sorting algorithms are essential in a broad variety of applications Organize an MP3 library. Display Google PageRank results. List RSS news items in reverse chronological order. Find the median. Find the closest pair. Binary search in a database. Identify statistical outliers. Find duplicates in a mailing list. Data compression. Computer graphics. Computational biology. Supply chain management. Load balancing on a parallel computer. ... Advanced Topics in Sorting anhtt-fit@mail.hut.edu.vn dungct@it-hut.edu.vn http://www.4shared.com/file/79096214/fb2ed224/lect01.html Sorting algorithms Which algorithm to use? Many sorting algorithms to choose from Internal sorts Insertion sort, selection sort, bubblesort, shaker sort. Quicksort, mergesort, heapsort, samplesort, shellsort. Solitaire sort, red-black sort, splaysort, Dobosiewicz sort, psort, ... External sorts Poly-phase mergesort, cascade-merge, oscillating sort. Radix sorts Distribution, MSD, LSD. 3-way radix quicksort. Parallel sorts Bitonic sort, Batcher even-odd sort. Smooth sort, cube sort, column sort. GPUsort. Applications have diverse attributes Stable? Multiple keys? Deterministic? Keys all distinct? Multiple key types? Linked list or arrays? Large or small records? Is your file randomly ordered? Need guaranteed performance? Cannot cover all combinations of attributes. 1 Case study 1 Problem Sort a huge randomly-ordered file of small records. Example Process transaction records for a phone company. Which sorting method to use? 1. Quicksort: YES, it's designed for this problem 2. Insertion sort: No, quadratic time for randomly- Case study 2 Problem Sort a huge file that is already almost in order. Example Re-sort a huge database after a few changes. Which sorting method to use? 1. Quicksort: probably no, insertion simpler and faster 2. Insertion sort: YES, linear t
… Laden Sie die Originaldatei herunter, um das vollständige Dokument zu lesen.
- Dokumentenname
- Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
- Schule / Kurs
- Đại học Bách khoa Hà Nội · Lập trình C
- Autor (im Dokument)
- anhtt-fit@mail.hut.edu.vn, dungct@it-hut.edu.vn
- Inhalt
- Tài liệu trình bày các ứng dụng và thuật toán sắp xếp, nhấn mạnh việc lựa chọn thuật toán dựa trên thuộc tính bài toán. Các ví dụ thực tế và kỹ thuật phân vùng 3 chiều cho khóa trùng lặp được giới thiệu.
- Inhaltsverzeichnis
- Sorting applications
- Advanced Topics in Sorting
- Sorting algorithms
- Which algorithm to use?
- Internal sorts
- External sorts
- Radix sorts
- Parallel sorts
- Applications have diverse attributes
- Case study 1
- Case study 2
- Case study 3
- Duplicate keys
- Exercise: Create Sample Data
- 3-Way Partitioning
- Scope for improvements- duplicate keys
- A 3-way partitioning method
- Seiten
- 12 Seiten
- Hochgeladen von
- lienhejb
Häufig gestellte Fragen
Ist dieses Dokument kostenlos?
Ja. „Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT“ ist kostenlos — melden Sie sich einfach an und klicken Sie auf Herunterladen, um die Originaldatei zu erhalten.
Wie viele Seiten hat dieses Dokument?
Das Dokument hat 12 Seiten, für den Kurs Lập trình C. Sie können es vor dem Herunterladen online in der Vorschau ansehen.
Kann ich vor dem Herunterladen eine Vorschau ansehen?
Ja. Sie können sich dieses Dokument direkt auf dieser Seite im Online-Reader ansehen und dann entscheiden, ob Sie es herunterladen möchten.

Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!