Class CosLinGammaFunction

    • Constructor Summary

      Constructors 
      Constructor Description
      CosLinGammaFunction​(double maxGamma, int visitsToReachOne, int initialMinThreshold, int absoluteMinThreshold)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMinRequiredVisits​(double relativeDepth)
      This function computes a mapping into the sigmoid where initialMinThreshold is mapped to 1 and absoluteMinThreshold -1
      double getNodeGamma​(int visits, double nodeProbability, double relativeDepth)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CosLinGammaFunction

        public CosLinGammaFunction​(double maxGamma,
                                   int visitsToReachOne,
                                   int initialMinThreshold,
                                   int absoluteMinThreshold)
    • Method Detail

      • getMinRequiredVisits

        public int getMinRequiredVisits​(double relativeDepth)
        This function computes a mapping into the sigmoid where initialMinThreshold is mapped to 1 and absoluteMinThreshold -1
        Parameters:
        relativeDepth -
        Returns:
      • getNodeGamma

        public double getNodeGamma​(int visits,
                                   double nodeProbability,
                                   double relativeDepth)
        Specified by:
        getNodeGamma in interface IGammaFunction