- Timestamp:
- 2016-05-29T23:44:03-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/pair-queue.lisp
r3938 r3939 92 92 93 93 (defmethod initialize-instance :after ((self critical-pair-queue) &key) 94 (make-priority-queue 95 :element-type 'critical-pair 96 :element-key #'(lambda (pair) (funcall pair-key-fn (critical-pair-first pair) (critical-pair-second pair))) 97 :test pair-order-fn)) 94 (with-slots (pair-key-fn pair-order-fn pq) 95 (setf pq (make-priority-queue 96 :element-type 'critical-pair 97 :element-key #'(lambda (pair) (funcall pair-key-fn (critical-pair-first pair) (critical-pair-second pair))) 98 :test pair-order-fn)))) 98 99 99 100 (defun pair-queue-initialize (pq f start
Note:
See TracChangeset
for help on using the changeset viewer.