VEBroot.prev

The predecessor search method of the van Emde Boas tree.

struct VEBroot(size_t baseSize)
@nogc const
size_t
prev
(
size_t val
)
if (
(baseSize & (baseSize - 1)) == 0
)

Parameters

val size_t

The key the next smaller neighbor of which is looked for.

Return Value

Type: size_t

Ditto. If the next smaller neighbor is missing a number out of bounds of the tree is returned.

Meta