Commit Graph

267 Commits

Author SHA1 Message Date
Benjamin Scher Purcell
d84c1f0a42 fix documentation 2017-02-26 18:52:00 -06:00
Benjamin Scher Purcell
2339521ad9 put tests back 2017-02-26 18:49:18 -06:00
Benjamin Scher Purcell
d43b189795 add random put and remove 2017-02-26 13:37:01 -06:00
Benjamin Scher Purcell
64f44f66bc more tests, revise existing tests 2017-02-26 13:12:51 -06:00
Benjamin Scher Purcell
e3980e5b80 add avl implementation 2017-02-25 14:29:26 -06:00
Emir Pasic
fc3e4a43ff Merge pull request #44 from ferhatelmas/typo-fix
readme: simple typo fix
2017-02-04 14:09:13 +01:00
ferhat elmas
5e31aedca2 readme: simple typo fix 2017-01-12 17:27:27 +01:00
RichardHightower
1d7bfb173f Comparator for time. 2016-12-20 10:35:13 -08:00
RichardHightower
d036ecbbb9 added time comparison 2016-12-20 10:32:18 -08:00
Emir Pasic
ec46b0116d Merge branch 'master' of https://github.com/emirpasic/gods 2016-09-17 22:12:36 +02:00
Emir Pasic
b5ede7d429 - all comparators for builtin types 2016-09-17 22:11:18 +02:00
Emir Pasic
8f1121f54d test different go versions with travis 2016-09-07 05:25:42 +02:00
Emir Pasic
0a96a47f6b - fix test for int comparator 2016-09-07 05:19:07 +02:00
Emir Pasic
d5d837214b Merge pull request #37 from emirpasic/revert-29-patch-1
Revert "Make IntComparator a bit more direct"
2016-09-07 05:07:30 +02:00
Emir Pasic
320ab1bc73 Revert "Make IntComparator a bit more direct" 2016-09-07 05:07:13 +02:00
Emir Pasic
8e828395fc Merge pull request #35 from emirpasic/heap_bulk_push
Heap Bulk Push Optimization
2016-09-07 03:54:07 +02:00
Emir Pasic
4ea857183a - optimization to bulk insert into heap as per @cristaloleg suggestion #32 2016-09-07 03:51:19 +02:00
Emir Pasic
549b6388f5 Merge pull request #34 from emirpasic/rbt_fix_struct_key
Fix duplicate struct key insertion in red-black tree
2016-09-07 03:22:40 +02:00
Emir Pasic
196706bb29 - set key to key if direct match when inserting into red-black tree. fixes the issue when the key is a struct type, which is how treeset uses the red-black tree #31 2016-09-07 03:19:20 +02:00
Emir Pasic
62b6e90ed7 - documentation update on removing elements while iterating #28 2016-08-07 02:03:02 +02:00
Emir Pasic
f310ac001e - fix comparator test 2016-08-07 01:57:52 +02:00
Emir Pasic
b143e3a370 Merge pull request #29 from glenherb/patch-1
Make IntComparator a bit more direct
2016-08-07 01:56:09 +02:00
Emir Pasic
fbd5d5a0b2 Merge pull request #30 from emirpasic/btree
- errcheck
2016-08-07 01:55:08 +02:00
Emir Pasic
0790df9fd0 - errcheck 2016-08-07 01:54:22 +02:00
glenherb
84564da2b4 Make IntComparator a bit more direct 2016-08-06 16:41:29 -05:00
Emir Pasic
7f89ed30ec Merge pull request #26 from emirpasic/btree
Btree
2016-07-16 07:34:25 +02:00
Emir Pasic
8e34c656ab Update README.md 2016-07-16 07:32:26 +02:00
Emir Pasic
7728a69eae - benchmarks in documentation 2016-07-16 07:29:43 +02:00
Emir Pasic
63d434cce6 - benchmarks in documentation 2016-07-16 07:26:40 +02:00
Emir Pasic
3066d0de5e - benchmarks in documentation 2016-07-16 07:24:44 +02:00
Emir Pasic
ce647c94dd - btree example and documentation 2016-07-16 06:57:46 +02:00
Emir Pasic
efcbbe6274 - detailed extensive tests with breakdown on number of elements 2016-07-16 04:40:16 +02:00
Emir Pasic
b38c99bf33 - btree deletion fixes with more tests (done) 2016-07-14 08:28:11 +02:00
Emir Pasic
288c1a4ca3 - btree deletion with tests 2016-07-14 05:55:24 +02:00
Emir Pasic
eb4171fdb0 - btree Keys() and Values() implemented with tests (using iterator) 2016-07-12 03:05:00 +02:00
Emir Pasic
53898058bb - btree iterator implemented with tests 2016-07-12 02:53:48 +02:00
Emir Pasic
76711f5b71 - btree don't allow order less than 3
- btree Left(), Right(), LeftKey(), RightKey(), LeftValue(), RightValue() implementation with tests
2016-07-11 02:28:14 +02:00
Emir Pasic
4e3ff20469 - btree get and put tests 2016-07-11 01:00:52 +02:00
Emir Pasic
9663093961 - btree put fixes 2016-07-11 00:18:00 +02:00
Emir Pasic
2df9ce1ab5 - btree put fixes 2016-07-10 22:03:59 +02:00
Emir Pasic
eecaef5625 - btree Height() and String() implementations 2016-07-10 05:16:02 +02:00
Emir Pasic
ab73314ad4 - btree expose its root, nodes and entries (for extension purposes) 2016-07-09 04:13:51 +02:00
Emir Pasic
19bf8e5c15 - remove inOrder function in red-black tree and use iterator 2016-07-09 04:10:02 +02:00
Emir Pasic
28b826151a - btree insertion with tests 2016-07-09 03:57:27 +02:00
Emir Pasic
9563b15010 - btree insertion with tests 2016-07-09 03:57:18 +02:00
Emir Pasic
2be4769d2b Merge pull request #25 from emirpasic/treebidimap
TreeBidiMap
2016-07-03 04:39:14 +02:00
Emir Pasic
7c82c74b00 - TreeBidiMap documentation 2016-07-03 04:36:21 +02:00
Emir Pasic
d8c5aa20eb - TreeBidiMap example implemented
- TreeMap string output fixed to be consistent with other maps
2016-07-03 04:25:03 +02:00
Emir Pasic
b41257272c - TreeBidiMap enumerable implemented (with tests) 2016-07-03 03:47:35 +02:00
Emir Pasic
cec0ec524f - TreeBidiMap iterator implemented (with tests) 2016-07-03 03:26:14 +02:00