选择排序法是一种不稳定的排序算法。它的工作原理是每一次从待排序的数据元素中选出最小(或最大)的一个元素,存放在序列的起始位置,然后,再从剩余未排序元素中继续寻找最小(大)元素,然后放到已排序序列的末尾。以此类推,直到全部待排序的数据元素排完。
「选择排序法(Selection Sort)是从排序的键值中选出最小的一个键值,然后和第一个键值交换,接著从剩下键值中选出第二小的键值和第二个键值交换,重复操作直到...
基于424个网页-相关网页
直接选择排序法 straight select sorting
交换-线性选择排序法 Linear Selection With Exchange Sort
选择排序算法 Selection sort algorithm
列表框选择排序方法 flistbox.setselectedindex
介绍了两种较为成熟的排序方法冒泡法和选择排序法,指出这两种排序方法都可在原来基础上实现双向排序。
This paper introduces two mature sorting methods: bubble sort and selection sort, and points out that these sorting methods could be used to realize the two-direction sort.
use - when测试还可以帮助选择定序法,只要包含的表达式告诉您可用何种排序法。
A use-when test can also help you choose collations, as long as it includes an expression that will tell you which collations are available.
算例表明,基于排序选择法、算术交叉、均匀变异的遗传模拟退火混合算法较为有效。
The result indicates that the hybrid algorithms based on rank-based selection, arithmetic crossover and uniform mutation is more effective.
应用推荐