Expand description

Priority queue traits; binary and generalized d-ary heap implementations.

Structs

Traits

  • A struct which provides an index of type usize. Index of the struct can be considered its unchanging id defined its position in a collection.
  • A priority queue which allows pushing (N, K)=(node, key) pairs to the collection, and popping the foremost element having the lowest key.
  • A PriorityQueueDecKey is a more advanced PriorityQueue with additional features mainly related to accessing or modifying already pushed nodes such as: