All Implemented Interfaces:
Provider<ObjectCollection>

public class MergePairs extends MergeWithFeature
Merges objects if a pair feature value satisfies a condition.

The pair feature is calculated on all combinations of any two neighboring objects (but only once for each pair, unidirectionally).

The merges occur in order of the maximum increase offered (if the value exceeds the threshold), and the algorithm recursively merge until all possible merges are complete.