org.ddogleg.sorting
Class ShellSort
- java.lang.Object
-
- org.ddogleg.sorting.ShellSort
-
public class ShellSort extends java.lang.ObjectImplemenation of the shell sort algorithm from Numerical Recipes Third Edition. Is a O(N^{3/2}) sorting algorithm No additional memory allocation is performed Only recommended for less than 50 elements
-
-
Constructor Summary
Constructors Constructor and Description ShellSort()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidsort(double[] data)Sorts data into ascending order
-
DataMelt 3.0 © DataMelt by jWork.ORG