- Timestamp:
- 2016-05-30T20:55:11-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/heap.lisp
r3987 r3988 44 44 45 45 (defun heap-size (a) 46 "The number of elements on the heap. Does not count dummy head." 46 47 (1- (fill-pointer a))) 47 48 … … 88 89 (when (<= (fill-pointer a) 1) (error "Empty queue.")) 89 90 (setf (aref a 1) (vector-pop a)) 90 ( priority-queue-downheap a 1 test)91 (heap-downheap a 1 test) 91 92 (values v a)) 92 93
Note:
See TracChangeset
for help on using the changeset viewer.