Class Node
java.lang.Object
net.demilich.metastone.game.behaviour.mcts.Node
A node in the Monte Carlo Tree Search tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
getScore()
getState()
int
void
initState
(GameContext state, List<GameAction> validActions) boolean
boolean
isLeaf()
void
process
(net.demilich.metastone.game.behaviour.mcts.TreePolicy treePolicy) int
-
Constructor Details
-
Node
-
-
Method Details
-
getBestAction
-
getChildren
-
getPlayer
public int getPlayer() -
getScore
public int getScore() -
getState
-
getVisits
public int getVisits() -
initState
-
isExpandable
public boolean isExpandable() -
isLeaf
public boolean isLeaf() -
process
public void process(net.demilich.metastone.game.behaviour.mcts.TreePolicy treePolicy) -
rollOut
-