BEASTObject that performs calculations based on the State.
calculates sum of a valuable
Logable: yes, this can be used in a log.
arg, tree, ignoreZeroBranchLengths
 
| type: beast.base.core.Function*** |
| argument to be summed |
| Required input |
 
| type: beast.base.evolution.tree.Tree |
| the tree corresponding to the function to be summed, indexing by node numbers assumed. |
| Optional input |
 
| type: java.lang.Boolean |
| true if quantities in the argument should only be summed for non-zero branch lengths. |
| Optional input. Default: false |