/usr/share/axiom-20170501/src/algebra/PRQAGG.spad is in axiom-source 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | )abbrev category PRQAGG PriorityQueueAggregate
++ Author: Michael Monagan; revised by Manuel Bronstein and Richard Jenks
++ Date Created: August 87 through August 88
++ Date Last Updated: April 1991
++ Description:
++ A priority queue is a bag of items from an ordered set where the item
++ extracted is always the maximum element.
PriorityQueueAggregate(S) : Category == SIG where
S : OrdereSet
SIG ==> BagAggregate S with
finiteAggregate
max : % -> S
++ max(q) returns the maximum element of priority queue q.
merge : (%,%) -> %
++ merge(q1,q2) returns combines priority queues q1 and q2 to return
++ a single priority queue q.
merge_! : (%,%) -> %
++ merge!(q,q1) destructively changes priority queue q to include the
++ values from priority queue q1.
|