Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
Génération de l'aperçu...
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.
Description
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
Résumé IA
- Nom du document
- Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
- École / Cours
- Đại học Bách khoa Hà Nội · Lập trình C
- Auteur (dans le document)
- anhtt-fit@mail.hut.edu.vn, dungct@it-hut.edu.vn
- Contenu
- 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.
- Table des matières
- 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
- Pages
- 12 pages
- Téléversé par
- lienhejb
Foire aux questions
Ce document est-il gratuit ?
Oui. « Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT » est gratuit — il suffit de vous connecter et de cliquer sur Télécharger pour obtenir le fichier original.
Combien de pages compte ce document ?
Le document contient 12 pages, pour le cours Lập trình C. Vous pouvez le prévisualiser en ligne avant de le télécharger.
Puis-je prévisualiser avant de télécharger ?
Oui. Vous pouvez prévisualiser ce document directement sur cette page avec le lecteur en ligne, puis décider de le télécharger ou non.
Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
Génération de l'aperçu...
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
Lire le document entier
- Nom du document
- Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
- École / Cours
- Đại học Bách khoa Hà Nội · Lập trình C
- Auteur (dans le document)
- anhtt-fit@mail.hut.edu.vn, dungct@it-hut.edu.vn
- Contenu
- 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.
- Table des matières
- 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
- Pages
- 12 pages
- Téléversé par
- lienhejb
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !
Lập trình C nâng cao - Fit Lec 7 (HUST) GV.AnhTT
Lập trình C nâng cao - Fit Lec 8 (HUST) GV.AnhTT
Lập trình C nâng cao - Fit Lec 4 (HUST) GV.AnhTT
Lập trình C nâng cao - Fit Lec 5 (HUST) GV.AnhTT
Slide Lập trình C nâng cao - Fit Lec 11 (HUST) GV.AnhTT
K5 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K2 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K3 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K4 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K1 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !