MCPcopy Create free account
hub / github.com/VAR-solutions/Algorithms / updateBIT

Function updateBIT

data structures/Fenwick_Tree.cpp:35–49  ·  view source on GitHub ↗

Updates a node in Binary Index Tree (BITree) at given index in BITree. The given value 'val' is added to BITree[i] and all of its ancestors in tree.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

constructBITreeFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected