Class CosLinGammaFunction
- java.lang.Object
-
- ai.libs.jaicore.search.algorithms.mdp.mcts.comparison.CosLinGammaFunction
-
- All Implemented Interfaces:
IGammaFunction
public class CosLinGammaFunction extends java.lang.Object implements IGammaFunction
-
-
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 -1double
getNodeGamma(int visits, double nodeProbability, double relativeDepth)
-
-
-
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 interfaceIGammaFunction
-
-