/**
  * Sets the maximum decrease in the training criterion allowed following a bisection. If the
  * decrease in criterion of a bisection step is greater than this value, partitioning will stop.
  * To turn off this stopping criterion set this to 1.0 or greater.
  *
  * @param maxCriterionDecrease The new maximum minimum distance.
  */
 public void setMaxCriterionDecrease(double maxCriterionDecrease) {
   ArgumentChecker.assertIsPositive("maxCriterionDecrease", maxCriterionDecrease);
   this.maxCriterionDecrease = maxCriterionDecrease;
 }
 /**
  * Sets the minimum number of elements per cluster to allow. If the number of elements in a
  * cluster is less than or equal to this number, it will not be bisected.
  *
  * @param minClusterSize The new minimum number of elements per cluster allowed. Must be greater
  *     than zero.
  */
 public void setMinClusterSize(int minClusterSize) {
   ArgumentChecker.assertIsPositive("minClusterSize", minClusterSize);
   this.minClusterSize = minClusterSize;
 }