|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSwarmObjectImpl
BasicSumRuleMaster
RandomRuleMaster
This is the RandomRuleMaster. A rule master contains the rule for the agent's acts.
Field Summary |
Fields inherited from class BasicSumRuleMaster |
agentProbToActBeforeOpening, agentProbToActBelowFloorP, asymmetricRange, floorP, maxCorrectingCoeff, minCorrectingCoeff |
Constructor Summary | |
RandomRuleMaster(Zone aZone)
Constructor for a new RandomRuleMaster. |
Method Summary | |
double |
getPrice(double lp,
double p)
This method is called when the agent acts in the market. |
double |
getPriceBeforeOpening(double lp,
double p)
This method is called before the market is open. |
Methods inherited from class BasicSumRuleMaster |
setAgentProbToActBeforeOpening, setAsymmetricRange, setFloorP$andAgentProbToActBelowFloorP, setMaxCorrectingCoeff, setMinCorrectingCoeff |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomRuleMaster(Zone aZone)
Method Detail |
public double getPriceBeforeOpening(double lp, double p)
public double getPrice(double lp, double p)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |