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 TypeMethodDescriptionintintgetScore()getState()intvoidinitState(GameContext state, List<GameAction> validActions) booleanbooleanisLeaf()voidprocess(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
-