Ejemplo n.º 1
0
            end = time()
            temp = end - start
            print("Sample's median chosen with selectDet time -->", temp)

            # SMALL SAMPLE WITH SORTING

            A = B
            start = time()
            Test5.QuickSort(A, m)  # Sample ordered with selectionSort
            end = time()
            temp = end - start
            print("Sample sorted with selectionSort time -->", temp)

            A = B
            start = time()
            Test1.QuickSort(A, m)  # Sample ordered with inserctionSort
            end = time()
            temp = end - start
            print("Sample sorted with inserctionSort time -->", temp)

            A = B
            start = time()
            test9.QuickSort(A, m)  # Sample ordered with bubbleSort
            end = time()
            temp = end - start
            print("Sample sorted with bubbleSort time -->", temp)

            # OTHER SORTING ALGHORITMS

            A = B
            start = time()