Package smile.sort
package smile.sort
Sorting algorithms.
-
ClassDescriptionThis class tracks the smallest values seen thus far in a stream of values.This class tracks the smallest values seen thus far in a stream of values.HeapSelect<T extends Comparable<? super T>>This class tracks the smallest values seen thus far in a stream of values.Heapsort is a comparison-based sorting algorithm, and is part of the selection sort family.This class tracks the smallest values seen thus far in a stream of values.Incremental quantile estimation.Selection is asking for the k-th smallest element out of n elements.Quicksort is a well-known sorting algorithm that, on average, makes O(n log n) comparisons to sort n items.Shell sort is a generalization of insertion sort.Sort algorithm trait that includes useful static functions such as swap and swift up/down used in many sorting algorithms.