|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
edu.cuny.cat.trader.strategy.AbstractStrategy
edu.cuny.cat.trader.strategy.FixedQuantityStrategyImpl
edu.cuny.cat.trader.strategy.AdaptiveStrategyImpl
public abstract class AdaptiveStrategyImpl
An abstract implementation of AdaptiveStrategy
and
FixedQuantityStrategy
.
Field Summary |
---|
Fields inherited from class edu.cuny.cat.trader.strategy.FixedQuantityStrategyImpl |
---|
P_DEF_BASE, quantity |
Fields inherited from class edu.cuny.cat.trader.strategy.AbstractStrategy |
---|
agent, currentShout, MIN_PRICE_DIFFERENCE |
Constructor Summary | |
---|---|
AdaptiveStrategyImpl()
|
|
AdaptiveStrategyImpl(AbstractTradingAgent agent)
|
Method Summary | |
---|---|
void |
eventOccurred(AuctionEvent event)
|
Methods inherited from class edu.cuny.cat.trader.strategy.FixedQuantityStrategyImpl |
---|
determineQuantity, getQuantity, modifyShout, setQuantity, setup, toString |
Methods inherited from class edu.cuny.cat.trader.strategy.AbstractStrategy |
---|
getAgent, initialize, modifyShout, protoClone, requiresAuctionHistory, reset, setAgent |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.cuny.cat.trader.strategy.AdaptiveStrategy |
---|
getLearner, setLearner |
Methods inherited from interface edu.cuny.cat.trader.strategy.Strategy |
---|
determineQuantity, modifyShout, requiresAuctionHistory, setAgent |
Methods inherited from interface edu.cuny.obj.Prototypeable |
---|
protoClone |
Methods inherited from interface edu.cuny.obj.Resetable |
---|
reset |
Constructor Detail |
---|
public AdaptiveStrategyImpl(AbstractTradingAgent agent)
public AdaptiveStrategyImpl()
Method Detail |
---|
public void eventOccurred(AuctionEvent event)
eventOccurred
in interface AuctionEventListener
eventOccurred
in class AbstractStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |