MCPcopy Index your code
hub / github.com/TheAlgorithms/Rust / pred

Method pred

src/data_structures/veb_tree.rs:167–209  ·  view source on GitHub ↗

Returns the next smallest value(predecessor) in the tree after succ. Returns `None` if there is no predecessor. pred() is almost a mirror of succ(). Differences are noted in comments.

(&self, succ: u32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

lowMethod · 0.80
highMethod · 0.80
emptyMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected