User Tools

Site Tools


netweaver:nodes:union

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

netweaver:nodes:union [2020/10/04 16:12] – external edit 127.0.0.1netweaver:nodes:union [2020/10/04 18:38] (current) bjmiller
Line 1: Line 1:
 +====== Description ======
 +The union node is used to aggregate values without the prejudice inflicted by using the [[AND]] node the liberality of the [[OR]] node.  It performs a weighted average of its child-nodes.
 +
 +====== Constraints ======
 +  * Minimum number of child-nodes: 0
 +  * Maximum number of child-nodes: no limit
 +
 +====== Calculus ======
 +The union node calculates the weighted average of its child-nodes.  Weight is a node property that has meaning in only some situations.  By default its value is 1, but can be changed to any numeric value.
 +
 +<m>value={sum{i=1}{n}{{value_i}*{weight_i}}}/{sum{i=1}{n}{weight_i}}</m>