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). 0 disables adaptive stopping and runs exactly rollouts rollouts.

Attributes

Source
MonteCarloEquity.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product