ExpectimaxConfig

dicechess.engine.search.ExpectimaxConfig
final case class ExpectimaxConfig(candidateLimit: Int = ..., exactOnlyMode: Boolean = ..., searchDepth: Int = ...)

Tuning for ExpectimaxSearch.

Value parameters

candidateLimit

how many of the mover's own turns (pre-ranked by ExpectimaxSearch's preRank, material by default) are expanded to full depth. Dice Chess routinely offers hundreds of legal turns per roll, so expanding all of them through a chance node is infeasible; this bounds the branching at the decision node. Must be positive.

exactOnlyMode

when true, the transposition table stores and reuses exact entries only. This is primarily a validation mode for comparing cached and uncached trees without fail-soft bound reuse.

searchDepth

number of full-turn plies in the expectimax tree. Depth 2 preserves the historical MAX → CHANCE → MIN → leaf search; depth 3 adds CHANCE → MAX → leaf after every opponent reply so exchanges include our recapture.

Attributes

Source
ExpectimaxSearch.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