GambitConfig

com.phasmidsoftware.gambit.game.GambitConfig
object GambitConfig

Loads and exposes typed configuration values for the Gambit framework.

Configuration is read from application.conf on the classpath (standard Typesafe Config behaviour). All values have hard-coded fallbacks so the application runs correctly even if no config file is present.

== HOCON structure ==

gambit {
 tournament.gamesPerPairing = 6
 alphaBeta.depth1           = 4
 alphaBeta.depth2           = 6
 mcts.iterations1           = 200
 mcts.iterations2           = 500
 mcts.explorationConstant   = 1.4142135623730951
}

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val alphaBetaDepth1: Int

Depth for the shallower AlphaBeta contestant.

Depth for the shallower AlphaBeta contestant.

Attributes

val alphaBetaDepth2: Int

Depth for the deeper AlphaBeta contestant.

Depth for the deeper AlphaBeta contestant.

Attributes

UCB1 exploration constant C for MCTS (default √2).

UCB1 exploration constant C for MCTS (default √2).

Attributes

val mctsIterations1: Int

Iteration count for the lighter MCTS contestant.

Iteration count for the lighter MCTS contestant.

Attributes

val mctsIterations2: Int

Iteration count for the heavier MCTS contestant.

Iteration count for the heavier MCTS contestant.

Attributes

Default number of games per pairing in a tournament.

Default number of games per pairing in a tournament.

Attributes