MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / parent

Method parent

mlspp/src/tree_math.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136NodeIndex
137NodeIndex::parent() const
138{
139 auto k = level();
140 return NodeIndex{ (val | (one << k)) & ~(one << (k + 1)) };
141}
142
143NodeIndex
144NodeIndex::sibling() const

Callers 4

TreeMathTestVectorMethod · 0.80
verifyMethod · 0.80
dirpathMethod · 0.80
filtered_direct_pathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected