s3games.player

## Class MiniMaxPlayer.Node

- java.lang.Object
- - s3games.player.MiniMaxPlayer.Node

- All Implemented Interfaces:
    java.lang.Comparable
  Enclosing class:
    MiniMaxPlayer

      public class MiniMaxPlayer.Node
      extends java.lang.Object
      implements java.lang.Comparable

  holds the information about the state, the best/worst value (depending on the node type, and the depth that is used when propagating the values from the leaf nodes up the search tree

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(java.lang.Object o)` nodes are ordered in the priority queue based on their depth so that the value updating propagates always in a bottom-up manner

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### compareTo

          public int compareTo(java.lang.Object o)

      nodes are ordered in the priority queue based on their depth so that the value updating propagates always in a bottom-up manner
      Specified by:
        `compareTo` in interface `java.lang.Comparable`