@Override
  public Double getRandomValue(RandomDataGenerator rdg) {
    if (max == min) {
      return min;
    }
    return rdg.nextUniform(min, max, true);
  }
@ Override public Double getRandomValue ( RandomDataGenerator rdg ) { if ( max == min ) { return min ; } return rdg . nextUniform ( min , max , true ) ; }
@param rdg random number generator to use
@return a hyperparameter value chosen uniformly at random from the range