Package-level declarations
Types
A function that takes two arguments of different types and returns a value of the first type.
A function that takes three arguments of different types and returns a value of the first type.
A ReductionType that excludes the local value from the reduction.
A ReductionType that includes the local value in the reduction.
A marker interface representing whether the local value should be included in a reduction.
Functions
Returns a field containing the Euclidean distance from the local node to each neighbor.
Returns a field containing the Euclidean distance from the local node to each neighbor.
Computes the initial value for a reduction using a FieldEntry, based on whether the local value is included.
Computes the initial value for a reduction, depending on whether the local value is included.
Sums this positive Int with another, and returns the result only if the result is positive. Otherwise, the function assumes that the sum has overflowed and returns Int.MAX_VALUE.