This is in contrast to selection sort where you're fishing looking again and again for the smallest element.
这与选择排序形成了对比,在选择排序中,你一次又一次地完成寻找最小的元素。
How many swaps do I do in selection sort?
那选择排序要做多少次交换呢?
The example program for this section implements a selection sort on an array of integers.
本节的示例程序在一个整数数组上实现选择排序。
We looked at something called Selection Sort and that too was pretty straightforward, at least conceptually.
例如选择排序,至少从概念上来说,它非常简单。
When you sort an array using selection sort, you choose the smallest element in the rest of the array on each cycle of the loop.
当你对数组使用选择排序,你选择最小的元素,其余的阵列每一个周期的循环。
And this was just a formal way of describing the best case running time and in the case of Selection Sort, what was the best case running time?
这是描述最好情况下运行时间的,一种正式的方式,在选择排序中,最理想的运行时间是多少呢?
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.
介绍了两种较为成熟的排序方法冒泡法和选择排序法,指出这两种排序方法都可在原来基础上实现双向排序。
So Selection Sort, while it might be easier perhaps to think through than Bubble Sort, or maybe it's pretty much equivalent, it's just a different approach to the same problem.
因此,仔细想想,选择排序也许比,冒泡排序更简单,或者这两者都差不多,只是对同一问题的不同方法而已。
Sometimes the user may want to sort the data only on one of the available selection criteria and leave the others blank or select no criteria to sort the data by leaving all the criteria blank.
有时候,用户可能希望只根据一个可用的选择条件对数据排序,而将其他条件留空,或者不选择任何条件,将所有条件留空。
How many swaps do I do in general in bubble sort, compared to selection source?
在冒泡排序中,一般要做多少次交换,对比选择排序呢?
On a Domino form or a Web page, we can control this sort of input using a selection list, so that users cannot add arbitrary data to a restricted field.
在Domino表单或web页面中,可以使用选择列表来控制此类输入,这样用户就无法向受限制的字段中添加随机数据类。
Living in one community means selection of a sort of way of life.
居住一个社区,意味着选择一种生活方式。
A sort cannot be performed on a selection that includes merged cells with different heights.
不能对含有不同高度合并单元格的选择执行排序。
Relevant documental materials can be classified into two groups—one concerning adverse selection theory and the other focusing on the solution of this sort of issue.
这些文献可以分为两大类,一类重点研究逆向选择理论,另一类则探讨逆向选择问题的解决方法。
Let's do selection and let's do merge sort here on the right just to see what actually happens.
中间进行选择排序,右边进行归并排序,看看会发生什么。
Results indicate that AIC is some sort of simple and practicable procedure for best selection of animal growth pattern.
结果表明AIC准则应用于选择动物最佳生长模型方面是一种简单而行之有效的方法。
No, I am not concerned with using what is real to make any sort of record or prove any sort of point, and I am not concerned with any methods of selection but my own, which I can't fully explain.
说它非,因为我不关心用真的东西作记录,或用他们来证明某种观点。同时,我也不关心使用何种方法来描述它们。我自己也解释不清楚为什么要用这个方法。
Thirdly, the article argues the SORT organizational design methods, respectively from organization structures, procedures, scales, personnel selection and mechanism.
再次,从组织结构、程序、规模、人员选拔、机制等方面分析了自组织团队如何进行组织设计。
Few would disagree that some sort of principled selection and ordering, even if based on intuitive criteria, is necessary.
很少人会不同意某种形式的原则性强的选择和排序,即使基于直觉的准则是必要的。
Typically, you want to constrain the record selection with a filter or parameters, perhaps sort the records, customize the SQL statement.
一般来说,您会想要使用筛选条件或参数来限制资料录的选取,可能会采用 排序资料录或自订SQL陈述式等方式。
According to Wenger that sort of assertion added an extra dimension to the second-leg of the Semi-Final, therefore justifying Sir Alex Ferguson's team selection.
在温格看来,这样的声言让半决赛第二回合更为紧张,因此也导致了弗格森的阵容选择。
According to Wenger that sort of assertion added an extra dimension to the second-leg of the Semi-Final, therefore justifying Sir Alex Ferguson's team selection.
在温格看来,这样的声言让半决赛第二回合更为紧张,因此也导致了弗格森的阵容选择。
应用推荐