文件名称:abcd
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.46mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。
分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。
使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。
分析两种不同算法,有针对性地设计与调整测试数据,进而通过比较算法耗时来得到更充分且更深刻的认识。
编写模块校验两种不同排序算法的输出结果正确且相同
-Quicksort sorting algorithm comparison and exchange
In the Visual C++ to create a single document Windows application, and to achieve the following functions:
The use of random function automatically generates a certain amount of test data (10000 test elements), and output to a file.
Respectively, and the exchange of the implementation of quick sort algorithm sorting algorithm to sort of test data, and output to a different file.
Using a more accurate record of QueryPerformanceCounter and QueryPerformanceFrequency algorithms such as time-consuming functions, accurate to the millisecond, in order to better carry out time-consuming compared algorithms.
Analysis of two different algorithms, targeted design and adjustment of test data, and then by comparing the algorithm is time-consuming to get a fuller and more profound understanding.
The preparation of the module check the output of two different sorting algorithm and the same result is correct
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。
分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。
使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。
分析两种不同算法,有针对性地设计与调整测试数据,进而通过比较算法耗时来得到更充分且更深刻的认识。
编写模块校验两种不同排序算法的输出结果正确且相同
-Quicksort sorting algorithm comparison and exchange
In the Visual C++ to create a single document Windows application, and to achieve the following functions:
The use of random function automatically generates a certain amount of test data (10000 test elements), and output to a file.
Respectively, and the exchange of the implementation of quick sort algorithm sorting algorithm to sort of test data, and output to a different file.
Using a more accurate record of QueryPerformanceCounter and QueryPerformanceFrequency algorithms such as time-consuming functions, accurate to the millisecond, in order to better carry out time-consuming compared algorithms.
Analysis of two different algorithms, targeted design and adjustment of test data, and then by comparing the algorithm is time-consuming to get a fuller and more profound understanding.
The preparation of the module check the output of two different sorting algorithm and the same result is correct
相关搜索: 排序算法比较
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Jane/CheckModule.cpp
Jane/CheckModule.h
Jane/DataBase.cpp
Jane/DataBase.h
Jane/DialogProgress.cpp
Jane/DialogProgress.h
Jane/DialogTableSet.cpp
Jane/DialogTableSet.h
Jane/DialogTestCount.cpp
Jane/DialogTestCount.h
Jane/Flag.cpp
Jane/Flag.h
Jane/Jane.aps
Jane/Jane.cpp
Jane/Jane.h
Jane/Jane.ncb
Jane/Jane.rc
Jane/Jane.reg
Jane/Jane.sln
Jane/Jane.suo
Jane/Jane.vcproj
Jane/Jane.vcproj.Jiangfeng.Administrator.user
Jane/JaneDoc.cpp
Jane/JaneDoc.h
Jane/JaneView.cpp
Jane/JaneView.h
Jane/MainFrm.cpp
Jane/MainFrm.h
Jane/QuickSort.cpp
Jane/QuickSort.h
Jane/Random.cpp
Jane/Random.h
Jane/ReadMe.txt
Jane/res/Jane.ico
Jane/res/Jane.rc2
Jane/res/JaneDoc.ico
Jane/res/Toolbar.bmp
Jane/resource.h
Jane/stdafx.cpp
Jane/stdafx.h
Jane/SwapSort.cpp
Jane/SwapSort.h
Jane/TableHander.cpp
Jane/TableHander.h
Jane/Timer.cpp
Jane/Timer.h
Jane/Tool.cpp
Jane/Tool.h
Jane/Debug
Jane/res
Jane
Jane/CheckModule.h
Jane/DataBase.cpp
Jane/DataBase.h
Jane/DialogProgress.cpp
Jane/DialogProgress.h
Jane/DialogTableSet.cpp
Jane/DialogTableSet.h
Jane/DialogTestCount.cpp
Jane/DialogTestCount.h
Jane/Flag.cpp
Jane/Flag.h
Jane/Jane.aps
Jane/Jane.cpp
Jane/Jane.h
Jane/Jane.ncb
Jane/Jane.rc
Jane/Jane.reg
Jane/Jane.sln
Jane/Jane.suo
Jane/Jane.vcproj
Jane/Jane.vcproj.Jiangfeng.Administrator.user
Jane/JaneDoc.cpp
Jane/JaneDoc.h
Jane/JaneView.cpp
Jane/JaneView.h
Jane/MainFrm.cpp
Jane/MainFrm.h
Jane/QuickSort.cpp
Jane/QuickSort.h
Jane/Random.cpp
Jane/Random.h
Jane/ReadMe.txt
Jane/res/Jane.ico
Jane/res/Jane.rc2
Jane/res/JaneDoc.ico
Jane/res/Toolbar.bmp
Jane/resource.h
Jane/stdafx.cpp
Jane/stdafx.h
Jane/SwapSort.cpp
Jane/SwapSort.h
Jane/TableHander.cpp
Jane/TableHander.h
Jane/Timer.cpp
Jane/Timer.h
Jane/Tool.cpp
Jane/Tool.h
Jane/Debug
Jane/res
Jane
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.