MCTSNode

com.phasmidsoftware.gambit.game.MCTSNode
See theMCTSNode companion class
object MCTSNode

Companion object for MCTSNode, providing factory methods.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MCTSNode.type

Members list

Value members

Concrete methods

def child[S, M, Pl](state: S, move: M, movedBy: Pl, moves: List[M]): MCTSNode[S, M, Pl]

Creates a child node derived from a given state, move, and the player who made it.

Creates a child node derived from a given state, move, and the player who made it.

Attributes

def root[S, M, Pl](state: S, moves: List[M]): MCTSNode[S, M, Pl]

Creates the root node of an MCTS tree. No parent, no associated move, no player who moved to generate it.

Creates the root node of an MCTS tree. No parent, no associated move, no player who moved to generate it.

Attributes