This package has been deprecated

Author message:

This package has moved to @heap-data-structure/d-ary-heap.

@aureooms/js-d-ary-heap

12.0.0 • Public • Published

@aureooms/js-d-ary-heap

d-ary heap data structure library for JavaScript. See docs. Parent is @aureooms/js-heap.

makeheap( 2 , increasing , swap , array , 0 , array.length ) ;
//        ^       ^         ^       ^     ^        ^
//      arity  ordering    swap   input [left  , right[
//                        method
//
let heap = new DAryHeap( 2 , compare.increasing ) ;
//                       ^            ^
//                     arity       ordering
//

NPM license NPM version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Documentation

Description

This package contains a d-ary heap implementation that can be parametrized with any d > 0.

Reference

Package Sidebar

Install

npm i @aureooms/js-d-ary-heap

Weekly Downloads

0

Version

12.0.0

License

AGPL-3.0

Last publish

Collaborators

  • aureooms