de.fhwiesbaden.jgamp001.thello.ai
Class JanAlphaBetaGame<M>

java.lang.Object
  extended by de.fhwiesbaden.jgamp001.thello.ai.MinMaxGame<M>
      extended by de.fhwiesbaden.jgamp001.thello.ai.JanAlphaBetaGame<M>
All Implemented Interfaces:
GameAI<M>
Direct Known Subclasses:
JanAlphaBetaBench

public class JanAlphaBetaGame<M>
extends MinMaxGame<M>


Constructor Summary
JanAlphaBetaGame(int depth)
           
 
Method Summary
 M bestMove(Game<M> g, int depth)
           
 void forceQuit()
           
 int getDepth()
           
 java.lang.Integer getLeafCount()
           
 java.lang.Integer getNodeCount()
           
 void setDepth(int depth)
           
 
Methods inherited from class de.fhwiesbaden.jgamp001.thello.ai.MinMaxGame
bestMove, doBestMove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JanAlphaBetaGame

public JanAlphaBetaGame(int depth)
Method Detail

setDepth

public void setDepth(int depth)

getDepth

public int getDepth()

bestMove

public M bestMove(Game<M> g,
                  int depth)
Overrides:
bestMove in class MinMaxGame<M>

getNodeCount

public java.lang.Integer getNodeCount()

getLeafCount

public java.lang.Integer getLeafCount()

forceQuit

public void forceQuit()