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.
描述
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
AI 摘要
- 文档名称
- Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Lập trình C
- 作者(文档中)
- anhtt-fit@mail.hut.edu.vn, dungct@it-hut.edu.vn
- 内容
- 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.
- 目录
- 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
- 页数
- 12 页
- 上传者
- lienhejb
常见问题
此文档免费吗?
是的。“Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 12 页,适用于课程 Lập trình C。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。
Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
正在生成预览...
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
阅读全文
- 文档名称
- Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Lập trình C
- 作者(文档中)
- anhtt-fit@mail.hut.edu.vn, dungct@it-hut.edu.vn
- 内容
- 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.
- 目录
- 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
- 页数
- 12 页
- 上传者
- lienhejb
评论 (0)
暂无评论。快来抢沙发吧!
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)
评论 (0)
暂无评论。快来抢沙发吧!