MonteCarloConfig
dicechess.engine.search.MonteCarloConfig
final case class MonteCarloConfig(rollouts: Int = ..., maxPlies: Int = ..., targetError: Double = ..., minRollouts: Int = ...)
Tuning knobs for MonteCarloEquity.estimate.
Value parameters
- maxPlies
-
ply horizon for a single rollout; survival mass still alive at the horizon is reported as
undecided. - minRollouts
-
minimum rollouts before adaptive stopping may trigger; ignored when targetError is
0. - rollouts
-
hard cap on the number of rollouts (also the exact count when targetError is
0). - targetError
-
when
> 0, stop early once the White-win standard error drops to or below this value (checked after at least minRollouts rollouts).0disables adaptive stopping and runs exactly rollouts rollouts.
Attributes
- Source
- MonteCarloEquity.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article