24 April 2020 12:17:31 PM TEST_PARTIAL_DIGEST_TESTS: I4_UNIFORM_AB_TEST I4_UNIFORM_AB computes pseudorandom values in an interval [A,B]. The lower endpoint A = -100 The upper endpoint B = 200 The initial seed is 123456789 1 -35 2 187 3 149 4 69 5 25 6 -81 7 -23 8 -67 9 -87 10 90 11 -82 12 35 13 20 14 127 15 139 16 -100 17 170 18 5 19 -72 20 -96 I4VEC_DISTANCES_TEST I4VEC_DISTANCES computes the pairwise distances between elements of an I4VEC. Locations: 0: 0 1: 3 2: 10 3: 20 4: 100 Distances: 0: 3 1: 10 2: 20 3: 100 4: 7 5: 17 6: 97 7: 10 8: 90 9: 80 I4VEC_HEAP_D_TEST I4VEC_HEAP_D turns an I4VEC into a descending heap; Using random seed 123456789. Unheaped array: 0: 9 1: 39 2: 34 3: 23 4: 17 5: 3 6: 11 7: 5 8: 2 9: 26 10: 3 11: 18 12: 17 13: 31 14: 32 15: 1 16: 36 17: 15 18: 4 19: 1 20: 35 21: 34 22: 5 23: 1 24: 11 25: 37 26: 5 27: 15 28: 33 29: 11 Descending heaped array: 0: 39 1: 36 2: 37 3: 23 4: 35 5: 34 6: 33 7: 9 8: 15 9: 26 10: 34 11: 18 12: 17 13: 31 14: 32 15: 1 16: 5 17: 2 18: 4 19: 1 20: 17 21: 3 22: 5 23: 1 24: 11 25: 3 26: 5 27: 15 28: 11 29: 11 I4VEC_PRINT_TEST I4VEC_PRINT prints an I4VEC Here is the I4VEC: 0: 91 1: 92 2: 93 3: 94 I4vEC_SORT_HEAP_A_TEST I4VEC_SORT_HEAP_A sorts an integer array; Using random seed 123456789. Unsorted array: 0: 9 1: 39 2: 34 3: 23 4: 17 5: 3 6: 11 7: 5 8: 2 9: 26 10: 3 11: 18 12: 17 13: 31 14: 32 15: 1 16: 36 17: 15 18: 4 19: 1 20: 35 21: 34 22: 5 23: 1 24: 11 25: 37 26: 5 27: 15 28: 33 29: 11 Sorted array: 0: 1 1: 1 2: 1 3: 2 4: 3 5: 3 6: 4 7: 5 8: 5 9: 5 10: 9 11: 11 12: 11 13: 11 14: 15 15: 15 16: 17 17: 17 18: 18 19: 23 20: 26 21: 31 22: 32 23: 33 24: 34 25: 34 26: 35 27: 36 28: 37 29: 39 KSUB_RANDOM_TEST KSUB_RANDOM generates a random K subset of an N set. Set size is N = 52 Subset size is K = 5 12 50 44 31 24 4 15 8 6 35 4 24 23 40 43 1 47 20 8 5 45 44 9 4 17 TEST_PARTIAL_DIGEST_TEST: TEST_PARTIAL_DIGEST creates test problems for the partial digest problem. Number of nodes = 6 Maximum distance = 20 Locations: 0: 0 1: 5 2: 12 3: 17 4: 19 5: 20 Distances: 0: 1 1: 2 2: 3 3: 5 4: 5 5: 7 6: 7 7: 8 8: 12 9: 12 10: 14 11: 15 12: 17 13: 19 14: 20 TEST_PARTIAL_DIGEST_TESTS: Normal end of execution. 24 April 2020 12:17:31 PM