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

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

public class MinMaxGame<M>
extends java.lang.Object
implements GameAI<M>


Constructor Summary
MinMaxGame()
           
 
Method Summary
 M bestMove(Game<M> g)
           
 M bestMove(Game<M> g, int depth)
           
 Game<M> doBestMove(Game<M> g)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinMaxGame

public MinMaxGame()
Method Detail

doBestMove

public Game<M> doBestMove(Game<M> g)
Specified by:
doBestMove in interface GameAI<M>

bestMove

public M bestMove(Game<M> g)
Specified by:
bestMove in interface GameAI<M>

bestMove

public M bestMove(Game<M> g,
                  int depth)