docs: public void setEntropyThreshold(double entropyThreshold)
      {
          if(entropyThreshold < 0 || Double.isNaN(entropyThreshold) || Double.isInfinite(entropyThreshold))
              throw new IllegalArgumentException("Entropy threshold must be non-negative, not " + entropyThreshold);
          this.entropyThreshold = entropyThreshold;
          set_h_properly();
      }