Tree

Undocumented in source.

Constructors

this
this(T v)
Undocumented in source.
this
this(Node* tr)
Undocumented in source.
this
this(T[] v)
Undocumented in source.

Members

Aliases

NP
alias NP = Node*
Undocumented in source.
opDollar
alias opDollar = length
Undocumented in source.
opLL
alias opLL = binaryFun!_opLL
Undocumented in source.
opTL
alias opTL = binaryFun!_opTL
Undocumented in source.
opTT
alias opTT = binaryFun!_opTT
Undocumented in source.

Functions

check
void check()
Undocumented in source. Be warned that the author may not have intended to support it.
insert
void insert(size_t k, T v)
Undocumented in source. Be warned that the author may not have intended to support it.
merge
Tree merge(Tree r)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
const(T) opIndex(size_t k)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
Range opIndex(size_t[2] rng)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(T x, size_t k)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexOpAssign
void opIndexOpAssign(L x, size_t[2] rng)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
size_t[2] opSlice(size_t start, size_t end)
Undocumented in source. Be warned that the author may not have intended to support it.
pr
void pr()
Undocumented in source. Be warned that the author may not have intended to support it.
removeAt
void removeAt(size_t k)
Undocumented in source. Be warned that the author may not have intended to support it.
split
Tree split(size_t k)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
trim
Tree trim(size_t a, size_t b)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

merge
NP merge(NP l, NP r, NP buf)
Undocumented in source. Be warned that the author may not have intended to support it.
split
NP[2] split(NP n, uint k)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

eL
L eL;
Undocumented in source.
eT
T eT;
Undocumented in source.

Structs

Node
struct Node

Weighted balanced tree

Range
struct Range
Undocumented in source.

Variables

tr
Node* tr;
Undocumented in source.

Meta