haskey-btree-0.2.0.0: B+-tree implementation in Haskell.

Safe HaskellSafe
LanguageHaskell2010

Data.BTree.Pure.Setup

Contents

Description

This module contains structures relating the the setup of a pure B+-tree.

Synopsis

Setup

data TreeSetup Source #

Setup of a pure B+-tree.

Predefined setups

twoThreeSetup :: TreeSetup Source #

Setup of a 2-3 tree.

setupWithMinimumDegreeOf :: Int -> TreeSetup Source #

Setup of a B+-tree with a certain minimum degree, as defined in CLRS.

To get for example a 2-3-4 tree, use

>>> setupWithMinimumDegreeOf 2