Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FastPriorityQueue

FastPriorityQueue.js : a fast heap-based priority queue in JavaScript. (c) the authors Licensed under the Apache License, Version 2.0.

Speed-optimized heap-based priority queue for modern browsers and JavaScript engines.

Hierarchy

  • FastPriorityQueue

Index

Constructors

Methods

Constructors

constructor

  • Parameters

    • Default value initialSize: number = 100

    Returns FastPriorityQueue

Methods

_percolateDown

  • _percolateDown(i: any): void
  • Parameters

    • i: any

    Returns void

add

  • add(myval: any): void
  • Parameters

    • myval: any

    Returns void

isEmpty

  • isEmpty(): boolean
  • Returns boolean

poll

  • poll(): any
  • Returns any