gradient Cast
Propagate local values across a spanning tree starting from the closest source.
If there are no sources and no neighbors, default to local value. The metric function is used to compute the distance between devices in form of a field of Distances. Distances must be in the [bottom, top] range, accumulateDistance is used to sum distances. accumulateData is used to modify data from neighbors on the fly, and defaults to the identity function.
Propagate local values across a spanning tree starting from the closest source.
If there are no sources and no neighbors, default to local value. The metric function is used to compute the distance between devices in form of a field of Ints. accumulateData is used to modify data from neighbors on the fly, and defaults to the identity function.
Propagate local values across a spanning tree starting from the closest source.
If there are no sources and no neighbors, default to local value. The metric function is used to compute the distance between devices in form of a field of Doubles. accumulateData is used to modify data from neighbors on the fly, and defaults to the identity function.