|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.liv.auction.agent.AbstractStrategy
uk.ac.liv.auction.agent.FixedQuantityStrategyImpl
uk.ac.liv.auction.agent.TruthTellingStrategy
| Field Summary |
| Fields inherited from class uk.ac.liv.auction.agent.AbstractStrategy |
agent, auction, currentShout |
| Constructor Summary | |
TruthTellingStrategy()
|
|
TruthTellingStrategy(AbstractTradingAgent agent)
|
|
| Method Summary | |
void |
endOfRound(Auction auction)
|
boolean |
modifyShout(Shout.MutableShout shout)
Modify the price and quantity of the given shout according to this strategy. |
| Methods inherited from class uk.ac.liv.auction.agent.FixedQuantityStrategyImpl |
determineQuantity, getQuantity, setQuantity, setup |
| Methods inherited from class uk.ac.liv.auction.agent.AbstractStrategy |
eventOccurred, getAgent, initialise, modifyShout, protoClone, reset, setAgent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.ac.liv.auction.agent.Strategy |
modifyShout, setAgent |
| Methods inherited from interface uk.ac.liv.util.Prototypeable |
protoClone |
| Methods inherited from interface uk.ac.liv.util.Resetable |
reset |
| Methods inherited from interface uk.ac.liv.auction.core.AuctionEventListener |
eventOccurred |
| Constructor Detail |
public TruthTellingStrategy(AbstractTradingAgent agent)
public TruthTellingStrategy()
| Method Detail |
public boolean modifyShout(Shout.MutableShout shout)
AbstractStrategy
modifyShout in class FixedQuantityStrategyImplpublic void endOfRound(Auction auction)
endOfRound in class AbstractStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||