haskey-btree-0.3.0.1: 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.

Instances
Show TreeSetup Source # 
Instance details

Defined in Data.BTree.Pure.Setup

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