- Timestamp:
- 2016-05-29T23:59:45-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/pair-queue.lisp
r3941 r3942 65 65 minimal LCM of leading monomials first.")) 66 66 67 #| 67 68 (defmethod print-object ((self selection-strategy) stream) 68 69 (print-unreadable-object (self stream :type t :identity t) … … 72 73 (format stream "PAIR-KEY-FN=~A PAIR-ORDER-FN=~A" 73 74 pair-key-fn pair-order-fn)))) 75 |# 74 76 75 77 (defclass min-total-degree-strategy (selection-strategy) … … 81 83 (defclass minimal-length-strategy (selection-strategy) 82 84 ((pair-key-fn :initform #'(lambda (p q) (+ (poly-length p) (poly-length q)))) 83 (pair-order :initform #'<))85 (pair-order-fn :initform #'<)) 84 86 (:documentation "Make a selection strategy where a pair with the minimum combined length of both 85 87 polynomials is selected."))
Note:
See TracChangeset
for help on using the changeset viewer.