haskey-btree
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.BTree.Pure.Setup

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

Instances details
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