EquityEstimate
dicechess.engine.search.EquityEstimate
final case class EquityEstimate(whiteWin: Double, blackWin: Double, undecided: Double, rollouts: Int, standardError: Double, varianceReductionVsVanilla: Double)
Result of a Monte-Carlo pre-roll equity estimate.
The three probabilities partition every rollout's outcome mass and therefore sum to 1.0:
- whiteWin / blackWin — probability that White / Black captures a king first;
- undecided — residual survival mass at the ply horizon (games that were neither won nor lost within
maxPlies).
Value parameters
- standardError
-
the standard error of the whiteWin estimate (
sqrt(sampleVariance / rollouts)); halve by quadrupling rollouts. - varianceReductionVsVanilla
-
how many times smaller the per-rollout variance is than a vanilla 0/1 Monte-Carlo with the same mean would be (
mean·(1-mean) / sampleVariance). Values> 1quantify the Rao-Blackwell gain;+Infinitymeans the estimate is exact (zero sample variance, e.g. a position decided on the first roll).
Attributes
- Source
- MonteCarloEquity.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article