de.java_chess.javaChess.engine.hashtable
Interface PlyHashtableEntry


public interface PlyHashtableEntry

This interface defines the functionality of a entry in the ply hashtable.


Method Summary
 Board getBoard()
          Get the game position before the ply is applied.
 java.lang.Object getHashtableKey()
          Request a key for this entry.
 boolean isWhitePly()
          Get the color, that is supposed to apply this ply.
 

Method Detail

isWhitePly

public boolean isWhitePly()
Get the color, that is supposed to apply this ply.
Returns:
true, if white applies this ply.

getBoard

public Board getBoard()
Get the game position before the ply is applied.
Returns:
The board before the ply is applied.

getHashtableKey

public java.lang.Object getHashtableKey()
Request a key for this entry.
Returns:
The key for this entry.