pixelperfectengine v0.9.4-alpha.3 (2018-07-14T20:03:51Z)
Dub
Repo
BinarySearchTree.optimize
PixelPerfectEngine
system
binarySearchTree
BinarySearchTree
Optimizes a BinarySearchTree by distributing nodes evenly.
struct
BinarySearchTree
(K, E)
protected @
nogc
void
optimize
(
BSTNode
!(
K
,
E
)**
node
)
Meta
Source
See Implementation
PixelPerfectEngine
system
binarySearchTree
BinarySearchTree
functions
collectNodes
findMax
findMin
insertAt
opApply
opIndex
opIndexAssign
optimize
rebalanceTree
remove
rotateLeft
rotateLeftRight
rotateRight
rotateRightLeft
toString
treeTraversalByDepth
properties
length
Optimizes a BinarySearchTree by distributing nodes evenly.