Skip to content

Sample MCTS Controller

Raluca D. Gaina edited this page Feb 12, 2018 · 2 revisions

The sample MCTS controller is programmed in three different classes:

  1. Agent.java: Main class of the agent, that extends class AbstractPlayer. Implements a constructor and the act function.
  2. SingleMCTSPlayer.java: Implements MCTS and holds a reference to the root node, object of class SingleTreeNode.
  3. SingleTreeNode.java: Each MCTS node, implementing the typical MCTS operations (uct, expand, rollout, backpropagation, etc.).

Analogously, Sample OLMCTS also implements a Monte Carlo Tree Search controller, but in an open loop fashion. This means that the states are not stored in the tree, what behaves better in non-deterministic scenarios. The classes are analogous to those from the Sample MCTS controller.

Table of Contents:

Clone this wiki locally