Changeset 3943
- Timestamp:
- 2016-05-30T00:00:14-07:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/pair-queue.lisp
r3942 r3943 65 65 minimal LCM of leading monomials first.")) 66 66 67 #|68 67 (defmethod print-object ((self selection-strategy) stream) 69 68 (print-unreadable-object (self stream :type t :identity t) … … 73 72 (format stream "PAIR-KEY-FN=~A PAIR-ORDER-FN=~A" 74 73 pair-key-fn pair-order-fn)))) 75 |#76 74 77 75 (defclass min-total-degree-strategy (selection-strategy) 78 76 ((pair-key-fn :initform #'(lambda (p q) (total-degree (universal-lcm (leading-monomial p) (leading-monomial q))))) 79 (pair-order :initform #'<))77 (pair-order-fn :initform #'<)) 80 78 (:documentation "Make a selection strategy where a pair with a 81 79 minimum total degree of LCM of leading monomials is selected."))
Note:
See TracChangeset
for help on using the changeset viewer.