# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "rollupTree" in publications use:' type: software license: MIT title: 'rollupTree: Perform Recursive Computations' version: 0.1.0.9000 doi: 10.32614/CRAN.package.rollupTree abstract: Mass rollup for a Bill of Materials is an example of a class of computations in which elements are arranged in a tree structure and some property of each element is a computed function of the corresponding values of its child elements. Leaf elements, i.e., those with no children, have values assigned. In many cases, the combining function is simple arithmetic sum; in other cases (e.g., mass properties), the combiner may involve other information such as the geometric relationship between parent and child, or statistical relations such as root-sum-of-squares (RSS). This package implements a general function for such problems. It is adapted to specific recursive computations by functional programming techniques; the caller passes a function as the update parameter to rollup() (or, at a lower level, passes functions as the get, set, combine, and override parameters to update_prop()) at runtime to specify the desired operations. The implementation relies on graph-theoretic algorithms from the 'igraph' package of Csárdi, et al. (2006 ). authors: - family-names: Jenkins given-names: James Steven email: sjenkins@studioj.us orcid: https://orcid.org/0000-0002-0725-0884 repository: https://jsjuni.r-universe.dev repository-code: https://github.com/jsjuni/rollupTree commit: 4971986f441bc19986a01698f21f4f2d691ea197 url: https://jsjuni.github.io/rollupTree/ contact: - family-names: Jenkins given-names: James Steven email: sjenkins@studioj.us orcid: https://orcid.org/0000-0002-0725-0884