Documentation of 'org.ddogleg.sorting.ShellSort' Java class
ShellSort
org.ddogleg.sorting

Class ShellSort



  • public class ShellSort
    extends java.lang.Object
    Implemenation 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 void sort(double[] data)
      Sorts data into ascending order
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShellSort

        public ShellSort()
    • Method Detail

      • sort

        public static void sort(double[] data)
        Sorts data into ascending order

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.