Home | Trees | Indices | Help |
|
---|
|
object --+ | AuctionHouse
The class AuctionHouse
represents an electronic auction
house. It provides methods for adding auctions and keyword searches,
among other things.
|
|||
|
|||
|
|||
|
|||
int |
|
||
list of dutch/english auction objects |
|
||
english/dutch auction object |
|
||
Inherited from |
|
|||
auctions instance variable: list of auctions(objects) in an auction house |
|
|||
Inherited from |
|
Creates a new auction house with no auctions.
|
Adds the given auction to the auction house.
|
Records one day as having passed. This is equivalent to calling
See Also: english/dutch_auction#advance_one_day() |
Returns the sum of the current prices of all the items for sale in the auction house. The total includes the prices of all auctions, be they open or closed.
|
Returns a list of all the auctions in this auction house which match the given keyword, in the order in which they were added to the auction house. Both open and closed auctions are included.
See Also: matches_keyword() in Auction |
Returns the "Bargain of the Day", the auction which has the lowest current/minimum price (or current/starting price) ratio of all the open auctions in the auction house.
See Also: english/dutch_auction#get_price_ratio() |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 30 11:00:39 2012 | http://epydoc.sourceforge.net |