Package search.mcts_lib
Class MCTSNode_lib
java.lang.Object
search.mcts_lib.MCTSNode_lib
Class of nodes for the MCTS-algorithm for creating an opening-library-document.
-
Constructor Summary
ConstructorsConstructorDescriptionMCTSNode_lib(int move, MCTSNode_lib parent, int depth) Constructs a new MCTSNode_lib object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if every child node of this node has been visited at least once.
-
Constructor Details
-
MCTSNode_lib
Constructs a new MCTSNode_lib object.- Parameters:
move- The move associated with this node.parent- The parent node of this node.depth- The depth of this node in the MCTS tree.
-
-
Method Details
-
isFullyExpanded
public boolean isFullyExpanded()Checks if every child node of this node has been visited at least once.- Returns:
- true if every child node has been visited; false otherwise.
-