Class MinimaxNode


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

      • MinimaxNode

        public MinimaxNode​(Turn turn,
                           Board board)
        Deprecated.
        MinimaxNode which contains a turn and the resulting board after turn was executed.
        Parameters:
        turn - The turn of that node.
        board - The board on which the board is applied.
    • Method Detail

      • addChild

        public void addChild​(MinimaxComponent component)
        Deprecated.
        Adds a child minimaxComponent to children.
        Parameters:
        component - The child to be added.
      • isLeaf

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