close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3992 for branches


Ignore:
Timestamp:
2016-05-30T21:08:43-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/priority-queue.lisp

    r3991 r3992  
    6666      (heap-empty-p heap))))
    6767
    68 (defgeneric queue-size (pq)
    69   (fill-pointer (priority-queue-heap pq)))
     68(defgeneric queue-size (self)
     69  (:method ((self priority-queue))
     70    (with-slots (heap)
     71        self
     72    (heap-size heap))))
Note: See TracChangeset for help on using the changeset viewer.