Class X

java.lang.Object
ubc.team09.eval.X
All Implemented Interfaces:
HeuristicMethod

public class X extends Object implements HeuristicMethod
An implementation of the X term presented in a 2014 paper by Runxing Zhong and Ke Zhou.
See Also
  • Constructor Summary

    Constructors
    Constructor
    Description
    X()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    evaluate(State state)
    Returns a number in the range of (-∞, +∞) where lower values indicate a more favorable position for Black, and greater values indicate a more favorable position for White.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • X

      public X()
  • Method Details

    • evaluate

      public double evaluate(State state)
      Description copied from interface: HeuristicMethod
      Returns a number in the range of (-∞, +∞) where lower values indicate a more favorable position for Black, and greater values indicate a more favorable position for White.
      Specified by:
      evaluate in interface HeuristicMethod
      Parameters:
      state - The board state to evaluate.