Class MergeToIncreaseObjectFeature

All Implemented Interfaces:
Provider<ObjectCollection>

public class MergeToIncreaseObjectFeature extends MergeWithFeature
Merges neighboring objects if it results in an increase in the average feature-value calculated on each single object.

A merge occurs if feature(merged) >= avg( feature(object1), feature(object2).

These merges occur in order of the maximum increase offered, and the algorithm recursively merge until all possible merges are complete.

The feature-value is calculated for each object that is a vertex of the graph (including all prospective merges of neighbors).

Author:
Owen Feehan