Click or drag to resize
NodeUCTSelectBest Method
Uses the UCT formula to select the most promising child Node to explore.
// UCT Formula
            uctVal = (child.GetScore() / (child.GetVisits() + EPSILON)) + Math.Sqrt(2) * Math.Sqrt((Math.Log(GetVisits() + 1)) / (child.GetVisits() + EPSILON)) + x + EPSILON;

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Node UCTSelectBest()

Return Value

Type: Node
The most promising child Node
See Also