-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.js
27 lines (26 loc) · 955 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* @module index
* @license MIT Copyright 2014 Daniel Imms (http://www.growingwiththeweb.com)
*/
'use strict';
/**
* Exports all sorting algorithms in ./lib.
*/
module.exports = {
bubbleSortOptimised: require('./lib/bubble-sort-optimised'),
bubbleSort: require('./lib/bubble-sort'),
bucketSort: require('./lib/bucket-sort'),
cocktailSort: require('./lib/cocktail-sort'),
combSort: require('./lib/comb-sort'),
countingSort: require('./lib/counting-sort'),
countingSortWithMin: require('./lib/counting-sort-with-min'),
gnomeSort: require('./lib/gnome-sort'),
heapsort: require('./lib/heapsort'),
insertionSort: require('./lib/insertion-sort'),
mergeSort: require('./lib/merge-sort'),
mergeSortBottomUp: require('./lib/merge-sort-bottom-up'),
oddEvenSort: require('./lib/odd-even-sort'),
quicksort: require('./lib/quicksort'),
radixSort: require('./lib/radix-sort'),
selectionSort: require('./lib/selection-sort')
};