forked from Yomguithereal/mnemonist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
endpoint.js
33 lines (32 loc) · 1.07 KB
/
endpoint.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
28
29
30
31
32
33
/**
* Mnemonist Library Endpoint
* ===========================
*
* Exporting every data structure through a unified endpoint. Consumers
* of this library should prefer the modular access though.
*/
var Heap = require('./heap.js'),
FibonacciHeap = require('./fibonacci-heap.js'),
SuffixArray = require('./suffix-array.js');
module.exports = {
BloomFilter: require('./bloom-filter.js'),
BKTree: require('./bk-tree.js'),
FibonacciHeap: FibonacciHeap,
MinFibonacciHeap: FibonacciHeap.MinFibonacciHeap,
MaxFibonacciHeap: FibonacciHeap.MaxFibonacciHeap,
Heap: Heap,
MinHeap: Heap.MinHeap,
MaxHeap: Heap.MaxHeap,
Index: require('./index.js'),
LinkedList: require('./linked-list.js'),
MultiIndex: require('./multi-index.js'),
MultiMap: require('./multi-map.js'),
MultiSet: require('./multi-set.js'),
Queue: require('./queue.js'),
Stack: require('./stack.js'),
SuffixArray: SuffixArray,
GeneralizedSuffixArray: SuffixArray.GeneralizedSuffixArray,
SymSpell: require('./symspell.js'),
Trie: require('./trie.js'),
VPTree: require('./vp-tree.js')
};