Re: Double-Ended Heaps

2005-12-19 Thread Scott David Daniels
Bryan Olson wrote: > Scott David Daniels wrote: >> I've just put together a Double-Ended Heap package. >> Of course I'd love comments. >> >>http://members.dsl-only.net/~daniels/deheap.html > > I think there's a typo in: > > Note that any change to the contents of a DeHeap (and > there

Re: Double-Ended Heaps

2005-12-18 Thread Scott David Daniels
Bryan Olson wrote: > Note that any change to the contents of a DeHeap (and > therefore a DeHeap2) any re-arrange the indices of a > number of entries in the DeHeap. Yup, thanks (I'll tweak it tomorrow). > A useful Python class will follow Python convention, where > relevant convention

Re: Double-Ended Heaps

2005-12-18 Thread Bryan Olson
Scott David Daniels wrote: > I've just put together a Double-Ended Heap package. > Of course I'd love comments. > >http://members.dsl-only.net/~daniels/deheap.html I think there's a typo in: Note that any change to the contents of a DeHeap (and therefore a DeHeap2) any re-arrange t