ScoringHeuristic

public protocol ScoringHeuristic

Heuristic used for scoring moves based on the statistics obtained from previous Monte Carlo simulations.

  • Scores a given move based on statistics obtained from previous Monte Carlo simulations.

    Declaration

    Swift

    func scoreMove(stats: TreeStats, parentPlays: Int) -> Score
  • The score type

    Declaration

    Swift

    associatedtype Score: Comparable