Class OneTryDistribution

    • Constructor Summary

      Constructors 
      Constructor Description
      OneTryDistribution​(double maxToAward)  
    • Method Summary

      Modifier and Type Method Description
      void addIfNew​(IDHolder<?> player, double accuracy)  
      java.lang.Double apply​(Player player)  
      • 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

      • OneTryDistribution

        public OneTryDistribution​(double maxToAward)
    • Method Detail

      • addIfNew

        public void addIfNew​(IDHolder<?> player,
                             double accuracy)
      • apply

        public java.lang.Double apply​(Player player)
        Specified by:
        apply in interface java.util.function.Function<Player<?>,​java.lang.Double>