Class TopThresholdSelector

  • All Implemented Interfaces:
    CandidateSelector, java.util.function.Function<java.util.List<Rank>,​java.util.List<Rank>>

    public class TopThresholdSelector
    extends java.lang.Object
    implements CandidateSelector
    Selects the top scoring ranks, given that their score is above the threshold
    Since:
    5.2
    Version:
    5.2
    Author:
    Pedro Oliveira
    • Constructor Summary

      Constructors 
      Constructor Description
      TopThresholdSelector​(double theThreshold)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Rank> apply​(java.util.List<Rank> theRanks)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • TopThresholdSelector

        public TopThresholdSelector​(double theThreshold)
    • Method Detail

      • apply

        public java.util.List<Rank> apply​(java.util.List<Rank> theRanks)
        Specified by:
        apply in interface java.util.function.Function<java.util.List<Rank>,​java.util.List<Rank>>