Class BestScore

java.lang.Object
org.genesys.taxonomy.checker.BestScore

public class BestScore extends Object
BestScore helps keeping track with best scores during streaming operations.
  • Constructor Details

    • BestScore

      public BestScore()
  • Method Details

    • getBestScore

      public double getBestScore()
      Gets the best score.
      Returns:
      the best score
    • update

      public void update(double score)
      Update best score. Not thread safe!
      Parameters:
      score - the score