Package-level declarations
Functions
Aggregate a field of local into the closest sink along a spanning tree built using hopDistanceTo. Data is accumulated using the accumulateData function.
Aggregate a field of local along a spanning tree built according descending the provided potential field. The parent of the current node is selected by picking the minimum as provided by the selectParent comparator which, by default, selects the parent with lowest potential. Data is accumulated using the accumulateData function.
Computes the mean of all local values into the selected sink along a spanning tree built by descending the potential built using hopDistanceTo.
Computes the mean of all local values along a spanning tree built descending the provided potential field using selectParent.
Sums all locals into the closest sink along a spanning tree built using hopDistanceTo.
Sums all locals into the closest sink along a spanning tree built using hopDistanceTo.
Sums all locals along a spanning tree built according descending the provided potential field. The parent of the current node is selected by picking the minimum as provided by the selectParent comparator.
Sums all locals along a spanning tree built according descending the provided potential field. The parent of the current node is selected by picking the minimum as provided by the selectParent comparator.
Counts the number of devices in the network along a spanning tree built using hopDistanceTo starting from sink. For all devices to get counted, there must be a single sink.
Counts the number of devices in the network along a spanning tree built descending the provided potential field using the selectParent. For all devices to get counted, there must be a single global minimum.
Find the best neighbor of the current device along a potential field, selecting it with the provided comparator function by returning the minimum.