TesujiGoFramework/MoveTree

Sub-page of TesujiGoFramework

Move Trees

At some point it may be handy to keep moves in a tree-structure. Either after reading an SGF file that has branches in the line of play, or after the engine reads some kind of problem. At least for debugging it will be handy to have the moves and their results that were evaluated during the reading and be able to inspect them.

If the reading took a long time and involved many moves, the tree can become bulky and occupy a lot of memory. For now this is ignored and the standard tree-structure that is available in the Swing library is used. So our tesuji.games.general.MoveNode class is a simple derivation of DefaultMutableTreeNode.


This is a copy of the living page "TesujiGoFramework/MoveTree" at Sensei's Library.
(OC) 2014 the Authors, published under the OpenContent License V1.0.
[Welcome to Sensei's Library!]
StartingPoints
ReferenceSection
About