MatlabAgent

public class MatlabAgent extends Agent

This is a wrapper class for calling agent implemented in Matlab.

Author:Feng

Fields

m_proxy

MatlabProxy m_proxy

Constructors

MatlabAgent

public MatlabAgent(int playernum)

Methods

initMatlabCon

protected void initMatlabCon()

initialStep

public Map<Integer, Action> initialStep(StateView newstate, History.HistoryView statehistory)

loadPlayerData

public void loadPlayerData(InputStream is)

middleStep

public Map<Integer, Action> middleStep(StateView newstate, History.HistoryView statehistory)

savePlayerData

public void savePlayerData(OutputStream os)

terminalStep

public void terminalStep(StateView newstate, History.HistoryView statehistory)