Tree accumulation
In computer science, tree accumulation is the process of accumulating data placed in tree nodes according to their tree structure.[src] Formally, this operation is a catamorphism.[src] Upward accumulation refers to accumulating on each node information about all descendants.[src] Downward accumulation refers to accumulating on each node information of every ancestor.[src] One application would be calculating national election results.[src] Construct a tree with the root node as the entire nation and each level representing refined geographical areas such as states/provinces, counties/parishes, cities/townships, and polling districts as the leaves.[src] By accumulating the vote totals from the polling districts, one can compute the vote totals for each of the larger geographic areas.[src]
In computer science, tree accumulation is the process of accumulating data placed in tree nodes according to their tree structure.[src] Formally, this operation is a catamorphism.[src] Upward accumulation refers to accumulating on each node information about all descendants.[src] Downward accumulation refers to accumulating on each node information of every ancestor.[src] One application would be calculating national election results.[src] Construct a tree with the root node as the entire nation and each level representing refined geographical areas such as states/provinces, counties/parishes, cities/townships, and polling districts as the leaves.[src] By accumulating the vote totals from the polling districts, one can compute the vote totals for each of the larger geographic areas.[src] ==Formal analysis== Gibbons et al.[src] formally define binary tree accumulation as iterative application of a ternary operator \otimes(A,B,A) ; where A are descendant labels and B is a junction label.[src] ==References==[src]
17 sentences · 17 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Tree accumulation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/tree-accumulation. Accessed 30 November 2026.
Chicago
"Tree accumulation." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/tree-accumulation.
APA
encyclopegia.org. (2026). Tree accumulation. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/tree-accumulation
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON