edu.iastate.jrelm.demo.bandit
Class GamblerAgent

java.lang.Object
  extended by edu.iastate.jrelm.demo.RothErevAgent<BanditAction>
      extended by edu.iastate.jrelm.demo.bandit.GamblerAgent
All Implemented Interfaces:
JReLMAgent<RELearner>

public class GamblerAgent
extends RothErevAgent<BanditAction>


Constructor Summary
GamblerAgent(BanditActionDomain domain, REParameters parameters)
           
GamblerAgent(BanditActionDomain domain, REParameters parameters, java.lang.String agentID)
           
 
Method Summary
 int chooseBanditArm()
           
 void receivePayoff(double payoff)
           
 
Methods inherited from class edu.iastate.jrelm.demo.RothErevAgent
chooseAction, getID, getLearner, receiveFeedback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GamblerAgent

public GamblerAgent(BanditActionDomain domain,
                    REParameters parameters,
                    java.lang.String agentID)

GamblerAgent

public GamblerAgent(BanditActionDomain domain,
                    REParameters parameters)
Method Detail

chooseBanditArm

public int chooseBanditArm()

receivePayoff

public void receivePayoff(double payoff)