*/
class ClusteringUtil
{
static AbsoluteDifferenceCompareFunction setComparisonFunction( ClusteringModel model )
{
CompareFunctionType compareFunction = model.getComparisonMeasure().getCompareFunction();
switch( compareFunction )
{
case ABS_DIFF:
return new AbsoluteDifferenceCompareFunction();