js-stl
Version:
Standard TypeScript Library
22 lines • 678 B
JavaScript
var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var Heap = require('./Heap');
/**
* The PriorityQueue class provides the main functionality of an prioritized queue, implemented using a max heap.
*
* @class PriorityQueue
* @extends Heap
*/
var PriorityQueue = (function (_super) {
__extends(PriorityQueue, _super);
function PriorityQueue() {
_super.apply(this, arguments);
}
return PriorityQueue;
})(Heap);
module.exports = PriorityQueue;
//# sourceMappingURL=PriorityQueue.js.map