文件名称:paixu
介绍说明--下载内容均来自于网络,请自行研究使用
(1)对以下6种常用的内部排序算法进行比较:起泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、堆排序。
(2)待排序表的表长不小于100;其中的数据要用伪随机数产生程序产生;至少要用5组不同的输入数据作比较;比较的指标为有关键字参加的比较次数和关键字的移动次数(关键字交换计为3次移动)。
(3)最后要对结果作出简单分析,包括对各组数据得出结果波动大小的解释。
-(1) of the following six kinds of commonly used internal sorting algorithm to compare: foaming sort of direct insertion sort, selection sort simple, quick sort, Hill sort HEAPSORT. (2) to be a long table to sort the table not less than 100 which data to use pseudo-random number generator procedures spend at least 5 different sets of input data for comparison comparable indicators for the comparison of the number of keywords and take part in mobile number of keywords (keyword exchanged 3 times the total mobile). (3) Finally to make a simple analysis of results, including data on the outcome of the interpretation of fluctuations in size.
(2)待排序表的表长不小于100;其中的数据要用伪随机数产生程序产生;至少要用5组不同的输入数据作比较;比较的指标为有关键字参加的比较次数和关键字的移动次数(关键字交换计为3次移动)。
(3)最后要对结果作出简单分析,包括对各组数据得出结果波动大小的解释。
-(1) of the following six kinds of commonly used internal sorting algorithm to compare: foaming sort of direct insertion sort, selection sort simple, quick sort, Hill sort HEAPSORT. (2) to be a long table to sort the table not less than 100 which data to use pseudo-random number generator procedures spend at least 5 different sets of input data for comparison comparable indicators for the comparison of the number of keywords and take part in mobile number of keywords (keyword exchanged 3 times the total mobile). (3) Finally to make a simple analysis of results, including data on the outcome of the interpretation of fluctuations in size.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4.cpp