Class MinimaxLeaf


  • @Deprecated
    public class MinimaxLeaf
    extends MinimaxComponent
    Deprecated.
    Only used for benchmarking
    A leaf of the created tree.
    • Constructor Detail

      • MinimaxLeaf

        public MinimaxLeaf​(Turn turn,
                           Board board)
        Deprecated.
        MinimaxLeaf of tree, its evaluation is the board value based on RTH.
        Parameters:
        turn - The turn of that node.
        board - The board on which the board is applied.
    • Method Detail

      • isLeaf

        public boolean isLeaf()
        Deprecated.
        Returns whether the node is a leaf.
        Specified by:
        isLeaf in class MinimaxComponent
        Returns:
        Always true.