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
… Tải file gốc để đọc toàn bộ tài liệu.
- 文档名称
- 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
- Doc.pages
- 12 页
- 上传者
- lienhejb
常见问题
Tài liệu này có miễn phí không?
Có. “Lập trình C nâng cao - Fit Lec1 (HUST) GV.AnhTT” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 12 trang, thuộc môn Lập trình C. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.

评论 (0)
暂无评论。快来抢沙发吧!