Interface HeuristicMethod

All Known Implementing Classes:
KMinDist, QMinDist, X

public interface HeuristicMethod
This defines the interface that describes a heuristic method for evaluating a board state.
  • 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.
  • Method Details

    • evaluate

      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.
      Parameters:
      state - The board state to evaluate.