adj. comparable
每一个元素或者节点要么本身是可比较的(Comparable),或者队列本身带有一个比较器(Comparator super E>),所有元素就是靠比较自身的大小来确定顺序的。
基于12个网页-相关网页
事实上,他们都提供了可比较的特性。
我准备比较那两个可比较的类似的公司。
当没有直接的可比较的东西时,做出不利比较就困难得多了。
It's more difficult to make an unfavourable comparison when there is nothing directly comparable.
Selection sort too really reduces to a total number of comparisons because I'm again comparing the current smallest to the next thing I see, the next thing, so really a lot of these sorting algorithms boil down to comparisons and the numbers that you actually have to make.
选择排序也可归纳为总数的比较,因为要将当前最小者与下一个进行比较,接着再下一个,可见,很多排序算法都可归结为比较,以及需要比较的次数。
应用推荐