Cluster [Obj,Int] String
Description
Given [OBJ,INTEGER,STRING] tuples and a bucket size,
clusters them by [OBJ,INTEGER / Bucket Size].
The new integer is the minimum within each cluster.
Trailing strings are re-associated to the right cluster.
Input
SOURCE [OBJ,INTEGER,STRING]: a list of objects, with an associated integer value, and a trailing string
Output
RESULT [OBJ,INTEGER,STRING]: objects with transformed integer and all the matching trailing strings
Parameters
Cluster size: how large each cluster is, in the same measure unit as the input integers.Cluster identifier: how to choose the integer that represents each cluster (min,max)