Git Product home page Git Product logo

tr-pfds's Introduction

Functional Data Structures for Typed Racket

Build Status Scribble

This library provides several functional data structures based on the work of Chris Okasaki and Phil Bagwell. Click the badge above the documentation.

The original library was implemented by Hari Prashanth.

How to install

Use one of:

  • raco pkg install pfds

or

  • git clone git://github.com/takikawa/tr-pfds.git
  • raco pkg install tr-pfds/

On Racket v5.3.1 or older, use raco to link this repository as a Racket collection. Here are step-by-step instructions:

  • git clone git://github.com/takikawa/tr-pfds.git
  • cd tr-pfds/pfds
  • raco link .
  • raco setup pfds

This will link the pfds folder as a collection called pfds. Then you can require, for example, the Bankers Deque by using (require pfds/deque/bankers).

Data structures

The following data structures are implemented:

  • Deques
    • Bankers Deque pfds/deque/bankers
    • Implicit Deque pfds/deque/implicit
    • Real-Time Deque pfds/deque/real-time
  • Heaps
    • Binomial Heap pfds/heap/binomial
    • Skew Binomial Heap pfds/heap/skew-binomial
    • Leftist Heap pfds/heap/leftist
    • Splay Heap pfds/heap/splay
    • Pairing Heap pfds/heap/pairing
    • Lazy Pairing Heap pfds/heap/lazy-pairing
    • Bootstrapped Heap pfds/heap/bootstrapped
  • Queues
    • Bankers Queue pfds/queue/bankers
    • Physicist's Queue pfds/queue/physicists
    • Hood-Melville Queue pfds/queue/hood-melville
    • Implicit Queue pfds/queue/implicit
    • Real-Time Queue pfds/queue/real-time
  • Random Access Lists
    • Binary Random Access List pfds/ralist/binary
    • Skew Binary Random Access List pfds/ralist/skew
  • Catenable List pfds/catenable-list
  • VList pfds/vlist
  • Streams pfds/stream
  • Red-Black Trees pfds/red-black-tree
  • Tries pfds/trie
  • Treap pfds/treap

tr-pfds's People

Contributors

takikawa avatar stchang avatar dented42 avatar mikesperber avatar

Watchers

John Clements avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.