java.lang.Object
net.demilich.metastone.game.behaviour.mcts.Node

public class Node extends Object
A node in the Monte Carlo Tree Search tree.
  • Constructor Details

    • Node

      public Node(GameAction incomingAction, int player)
  • Method Details

    • getBestAction

      public GameAction getBestAction()
    • getChildren

      public List<Node> getChildren()
    • getPlayer

      public int getPlayer()
    • getScore

      public int getScore()
    • getState

      public GameContext getState()
    • getVisits

      public int getVisits()
    • initState

      public void initState(GameContext state, List<GameAction> validActions)
    • isExpandable

      public boolean isExpandable()
    • isLeaf

      public boolean isLeaf()
    • process

      public void process(net.demilich.metastone.game.behaviour.mcts.TreePolicy treePolicy)
    • rollOut

      public int rollOut(Node node)