In Game Callbacks
The methods that are called in the agent implementation (AgentImpl)
during a TAC game.
quoteUpdated(Quote quote)
Called by the AgentWare when new quote information has been
received from the server.
quoteUpdated(int auctionCategory)
Called by the AgentWare when all quote information for the specified
category of auctions have been received from the server.
bidUpdated(Bid bid)
Called when the AgentWare has received new information about the
specified bid 'Bid' from the server.
bidRejected(Bid bid)
Called when the AgentWare has been information that the bid
has been rejected.
bidError(Bid bid, int status)
This method is called when it was not possible to submit the specified
bid to the auction (status correspond to the commandStatus in the
TAC protocol).
auctionClosed(int auctionID)
Called when an auction has closed.
When auctionClosed is called the following statements hold:
- The auction with ID = AuctionID has closed
- Own contains the number of items bought in the auction (+ endowments)
- All transactions for this auction have been received
transaction(Transaction transaction)
Called when the AgentWare has received transaction information. When it
is called the own quantity returned from the predicate getOwn(int auction)
will be updated based on the information in this transaction.
Copyright © 2001-2005
SICS AB. All Rights Reserved.
For more information about the TAC AgentWare
please email tac-dev@sics.se.