class SimilarityScoreSampling {

  public Map<Integer, ScoreDistribution> performSampling() {
    Map<Integer, ScoreDistribution> result = new HashMap<>();
    for (int numTerms = options.getMinNumTerms();
        numTerms <= options.getMaxNumTerms();
        ++numTerms) {
      result.put(numTerms, performSamplingForTermCount(labels, numTerms));
    }
    return result;
  }

  public  SimilarityScoreSampling(Ontology ontology, Similarity similarity, ScoreSamplingOptions options, Map<TermId, ? extends Collection<TermId>> labels);

}