org.eclipse.palamedes.gdl.core.simulation.strategies
Class SMonteCarlo

java.lang.Object
  extended by org.eclipse.palamedes.gdl.core.simulation.strategies.AbstractStrategy
      extended by org.eclipse.palamedes.gdl.core.simulation.strategies.SMonteCarlo
All Implemented Interfaces:
IStrategy

public class SMonteCarlo
extends AbstractStrategy


Field Summary
 
Fields inherited from class org.eclipse.palamedes.gdl.core.simulation.strategies.AbstractStrategy
expectedGoal, game, heuristic, iException, match, maxSteps, maxStepsDefault, playerNumber, random, reliability
 
Constructor Summary
SMonteCarlo()
           
 
Method Summary
 IMove getMove(IGameNode currentNode)
           
 void initMatch(Match initMatch)
           
 
Methods inherited from class org.eclipse.palamedes.gdl.core.simulation.strategies.AbstractStrategy
dispose, getExpectedGoalValue, getHeuristicValue, getRandomCombinedMove, getReliabilityValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMonteCarlo

public SMonteCarlo()
Method Detail

initMatch

public void initMatch(Match initMatch)
Specified by:
initMatch in interface IStrategy
Overrides:
initMatch in class AbstractStrategy

getMove

public IMove getMove(IGameNode currentNode)
Specified by:
getMove in interface IStrategy
Specified by:
getMove in class AbstractStrategy