|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSwarmObjectImpl
BasicSumAgent
RandomAgent
This is the RandomAgent. RandomAgent acts at random.
Field Summary | |
double[] |
order
This variable is for send order to the book. |
RandomRuleMaster |
ruleMaster
This is the agent's rule master. |
Constructor Summary | |
RandomAgent(Zone aZone,
int maxOrderQuantity)
Constructor for a new RandomAgent. |
Method Summary | |
void |
act0()
This method is called in the first phase of the day. |
void |
act1()
This method is called in the first phase of the day. |
void |
setRuleMaster(RandomRuleMaster r)
This method sets the rule master. |
Methods inherited from class BasicSumAgent |
act2, extract, getWealthAtMeanDailyPrice, setAgentProbToActWithMarketPrice, setAsymmetricBuySellProb, setBook, setConfirmationOfExecutedPrice, setMaxOrderQuantity, setNumber, setPrinting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double[] order
public RandomRuleMaster ruleMaster
Constructor Detail |
public RandomAgent(Zone aZone, int maxOrderQuantity)
Method Detail |
public void setRuleMaster(RandomRuleMaster r)
public void act0()
act0
in class BasicSumAgent
public void act1()
act1
in class BasicSumAgent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |