20 Commits

Author SHA1 Message Date
Emir Pasic 6b0ffefe7f Fix iterator in binary heap 2022-04-15 00:07:42 +02:00
Emir Pasic e2b92bbc7a Interface implementation assertions moved outside the functions 2022-04-13 15:04:39 +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 213367f1ca - replace long bsd text with short in all .go files 2016-06-27 04:21:09 +02:00
Emir Pasic 20229603ab - refactor all iterators and enumerables into separate files 2016-06-27 04:02:52 +02:00
Emir Pasic f052c96069 - iterator end on reverse-iterable data structures 2016-06-27 00:41:32 +02:00
Emir Pasic 57162feff5 - rename Reset() to Begin() in iterators (this will allow End() which will make reverse loops more readable) 2016-06-27 00:08:01 +02:00
Emir Pasic bdfeab4912 - iterator first on all structures with reversible iterators 2016-06-26 22:50:14 +02:00
Emir Pasic f8b0747409 - iterator last on all structures with reversible iterators 2016-06-26 22:27:08 +02:00
Emir Pasic b86d413e66 - iterator reset on all structures 2016-06-26 20:50:49 +02:00
Emir Pasic ae143689c6 - add reversible iterators to binary heap 2016-06-25 19:26:08 +02:00
Emir Pasic 59bebe43ce - update all documentation to be in godoc style 2016-06-25 17:02:21 +02:00
Emir Pasic ef9baa808a - golint 2016-06-24 21:52:16 +02:00
Emir Pasic 35457aba81 - fix spelling 2016-06-24 20:27:34 +02:00
Emir Pasic 8cb4635c2c - code document all enumarable functions and iterators in containers 2016-06-24 00:08:04 +02:00
Emir Pasic e4c3d8a0d8 - split iterators into two type (iterator with index and iterator with key) 2016-06-22 19:59:08 +02:00
Emir Pasic 6c3a5ce1cc - add iterator to binary heap 2016-06-22 06:18:08 +02:00
Emir Pasic 3b3edfc539 - naming conventions (calling interfaces by what they are) 2016-06-22 03:09:48 +02:00
Emir Pasic f9305332a4 - expose comparator in binary heap
- fix comment
2016-03-28 08:01:46 +02:00
Emir Pasic bc2bc08324 binary heap 2015-03-13 02:07:44 +01:00