BSD Ports

devel/rubygem-pairing_heap 3.1.1 FreeBSD

Performant priority queue with support for changing priority

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
eb44e58d95
License
MIT
Categories
devel, rubygems
Package size
12.8 KiB, 47.2 KiB installed

Description

PairingHeap is a pure Ruby priority queue implementation using a pairing heap as the underlying data structure. While a pairing heap is asymptotically less efficient than the Fibonacci heap, it is usually faster in practice. This makes it a popular choice for Prim's MST or Dijkstra's algorithm implementations.

PairingHeap is currently being used as the priority queue data structure in RGL.

Also implementation without priority change support is provided(SimplePairingHeap), while the asymptotical complexity of the methods stay the same, bookkeeping of elements is not needed making, the constant smaller.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-pairing_heap3.1.1
DragonFlydevel/rubygem-pairing_heap3.1.0

Install

Binary package:

pkg install rubygem-pairing_heap

From the ports tree:

cd /usr/ports/devel/rubygem-pairing_heap/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-pairing_heap>0:devel/rubygem-pairing_heap

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1.13.1.11.0.03.1.03.1.1
FreeBSD:14:quarterly3.1.13.1.1n/a3.1.03.1.1
FreeBSD:15:latest3.1.13.1.1n/a3.1.03.1.0
FreeBSD:15:quarterly3.1.13.1.1n/an/an/a
FreeBSD:16:latest3.1.13.1.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6
Required by 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/pairing_heap-3.1.1.gem15872c71a74ecdf9d6accc7545b38075b2f4e8d98b550aabe0f0758a587ee12e93588
Master sites 1
  • RG

Commit history 1

DateCommitCreditsLog message
eb44e58d95 Po-Chuan Hsieh devel/rubygem-pairing_heap: Update to 3.1.1
Changes: https://github.com/mhib/pairing_heap/releases