org.eclipse.palamedes.gdl.core.simulation
Class Match

java.lang.Object
  extended by org.eclipse.palamedes.gdl.core.simulation.Match
Direct Known Subclasses:
Player.RealMatch

public class Match
extends java.lang.Object


Constructor Summary
Match(IGame game, IStrategy strategy, java.lang.String role, int tStart, int tPlay)
           
Match(IGame game, IStrategy strategy, java.lang.String role, int tStart, int tPlay, IGameNode startNode)
           
 
Method Summary
 IGameNode getCurrentNode()
           
 IGame getGame()
           
 int getGoalValue()
           
 java.util.List<IGameNode> getHistory()
           
 IMove getMove()
           
 int getPlayTime()
           
 double getReliabilityValue()
           
 java.lang.String getRole()
           
 int getStartTime()
           
 IStrategy getStrategy()
           
 TimerFlag getTimer()
           
 void makeTurn(IMove[] moves)
           
 void makeTurn(java.lang.String[] moveStr)
           
 void setCurrentNode(IGameNode newNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Match

public Match(IGame game,
             IStrategy strategy,
             java.lang.String role,
             int tStart,
             int tPlay,
             IGameNode startNode)

Match

public Match(IGame game,
             IStrategy strategy,
             java.lang.String role,
             int tStart,
             int tPlay)
Method Detail

makeTurn

public void makeTurn(IMove[] moves)

makeTurn

public void makeTurn(java.lang.String[] moveStr)

getReliabilityValue

public double getReliabilityValue()

getMove

public IMove getMove()

getGame

public IGame getGame()

getStrategy

public IStrategy getStrategy()

getRole

public java.lang.String getRole()

getStartTime

public int getStartTime()

getPlayTime

public int getPlayTime()

getHistory

public java.util.List<IGameNode> getHistory()

getCurrentNode

public IGameNode getCurrentNode()

setCurrentNode

public void setCurrentNode(IGameNode newNode)

getTimer

public TimerFlag getTimer()

getGoalValue

public int getGoalValue()