Changeset 3950
- Timestamp:
- 2016-05-30T00:47:28-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/pair-queue.lisp
r3949 r3950 118 118 119 119 120 (defun pair-queue-initialize (pq f start121 &aux122 (s (1- (length f)))123 (b (nconc (makelist (make-instance 'critical-pair :first (elt f i) :second (elt f j))124 (i 0 (1- start)) (j start s))125 (makelist (make-instance 'critical-pair :first (elt f i) :second (elt f j))126 (i start (1- s)) (j (1+ i) s)))))127 "Initializes the priority for critical pairs. F is the initial list of polynomials.128 START is the first position beyond the elements which form a partial129 grobner basis, i.e. satisfy the Buchberger criterion."130 (declare (type priority-queue pq) (type fixnum start))131 (dolist (pair b pq)132 (priority-queue-insert pq pair)))133 120 134 121 (defun pair-queue-insert (b pair)
Note:
See TracChangeset
for help on using the changeset viewer.