DEFAULT_ITERATIONS, DEFAULT_ROLLOUT_DEPTH, DEFAULT_TREE_DEPTH_MUL, logger, NO_LIMIT, random, rolloutDepth, roundLength, treeDepthMul
Constructor and Description |
---|
MCTSPolicy(Agent rolloutPolicy) |
MCTSPolicy(int roundLength,
int rolloutDepth,
int treeDepthMul,
Agent rollout) |
Modifier and Type | Method and Description |
---|---|
static MCTSPolicy |
buildPolicyND(Agent rolloutPolicy) |
protected Action |
selectActionForRollout(GameState state,
int playerID)
Rather than perform a random move, query a policy for one.
|
String |
toString() |
buildMCTSND, calculateTreeDepthLimit, doMove, expand, rollout, select, selectActionForExpand
public MCTSPolicy(Agent rolloutPolicy)
public MCTSPolicy(int roundLength, int rolloutDepth, int treeDepthMul, Agent rollout)
public static MCTSPolicy buildPolicyND(Agent rolloutPolicy)
protected Action selectActionForRollout(GameState state, int playerID)
selectActionForRollout
in class MCTS
state
- playerID
- Copyright © 2017 FOSS Galaxy. All rights reserved.