MCPcopy Create free account
hub / github.com/corels/corels / delete_subtree

Function delete_subtree

src/cache.cpp:194–219  ·  view source on GitHub ↗

* Deletes a subtree of tree by recursively calling itself on node's children. * node -- the node at the root of the subtree to be deleted. * destructive -- booelan flag indicating whether to delete node or just lazily mark it. * update_remaining_state_space -- boolean flag indicating whether to update the size of * the remaining search space (optional calculation in logger state) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

~CacheTreeMethod · 0.85
gc_helperMethod · 0.85
insertMethod · 0.85

Calls 9

doneMethod · 0.80
children_beginMethod · 0.80
children_endMethod · 0.80
decrement_num_nodesMethod · 0.80
depthMethod · 0.80
lower_boundMethod · 0.80
set_deletedMethod · 0.80
decPrefixLenMethod · 0.45
removeQueueElementMethod · 0.45

Tested by

no test coverage detected