文件名称:SORT---selection
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-02-16
- 文件大小:
- 80kb
- 下载次数:
- 0次
- 提 供 者:
- 陈*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
选择排序
每趟选出一个最值和无序序列的第一个数交换,n个数共选n-1趟。第i趟假设i为最值下标,然后将最值和i+1至最后一个数比较,找出最值的下标,若最值下标不为初设值,则将最值元素和下标为i的元素交换。-The first number selection sort elect one of the most value per trip and disordered sequence exchange, choose the number n of n-1 times. I assume that i first trip to the index value, then the value and i+1 to last a few comparison to find the best value under the standard, if the value of the initial value of the subscr ipt is not, then the value of the element and the subscr ipt i is the element exchange.
每趟选出一个最值和无序序列的第一个数交换,n个数共选n-1趟。第i趟假设i为最值下标,然后将最值和i+1至最后一个数比较,找出最值的下标,若最值下标不为初设值,则将最值元素和下标为i的元素交换。-The first number selection sort elect one of the most value per trip and disordered sequence exchange, choose the number n of n-1 times. I assume that i first trip to the index value, then the value and i+1 to last a few comparison to find the best value under the standard, if the value of the initial value of the subscr ipt is not, then the value of the element and the subscr ipt i is the element exchange.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SORT - selection\Debug\Bubble Sort.obj
................\.....\Selection Sort.obj
................\.....\SORT.pch
................\.....\SORT.pdb
................\.....\vc60.idb
................\.....\vc60.pdb
................\Selection Sort.cpp
................\SORT.dsp
................\SORT.dsw
................\SORT.ncb
................\SORT.opt
................\SORT.plg
................\Debug
SORT - selection