js-stl
Version:
Standard TypeScript Library
22 lines • 618 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 MinHeap class provides the main functionality of a heap, keeping the minimum on the top.
*
* @class MinHeap
* @extends Heap
*/
var MinHeap = (function (_super) {
__extends(MinHeap, _super);
function MinHeap() {
_super.apply(this, arguments);
}
return MinHeap;
})(Heap);
module.exports = MinHeap;
//# sourceMappingURL=MinHeap.js.map