Class ShearSortAlgorithm


  • public class ShearSortAlgorithm
    extends Object
    • Constructor Detail

      • ShearSortAlgorithm

        public ShearSortAlgorithm()
    • Method Detail

      • parallelSort

        public void parallelSort​(double[] arrayToBeSorted,
                                 double[] arrayThatFollowsTheSort)
                          throws Exception
        Sorts two arrays regarding to the sort of the first
        Parameters:
        arrayToBeSorted - the array on wich the sort is performed
        arrayThatFollowsTheSort - the array that is sorted following the others array sort. Can be null
        Throws:
        Exception
      • main

        public static void main​(String[] args)