Field
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a Map with the neighboring values of this field (namely, all values but self).
Link copied to clipboard
Link copied to clipboard
inline fun <ID : Any, T> Field<ID, T>.hoodWithId(default: T, crossinline transform: (Pair<ID, T>, Pair<ID, T>) -> Pair<ID, T>): T
Reduce the elements of the field using the transform function, returning the default value if the field to transform is empty. The local value is not considered.
Link copied to clipboard
Link copied to clipboard
Get the maximum value of a field, including the local value.
Link copied to clipboard
Get the minimum value of a field, including the local value.