Closed shangwyoung closed 8 years ago
Is the init method supposed to correspond to the constructor?
Yes, i believe so. Maybe Tom @tbwexler can confirm that?
Certainly passing that info to a constructor is reasonable approach. I suggested an init function to initialize a new auction without reconstructing the agent so that if we had a series of auctions, the agent could learn from one to the next. But we can always start under the assumption that typically there will be a single auction, and have that info passed to the constructor. If we decide later on to support additional auctions we can add another function.
cheers, tom
On Jan 8, 2016, at 4:05 AM, Aaron Young notifications@github.com wrote:
Yes, i believe so. Maybe Tom @tbwexler https://github.com/tbwexler can confirm that?
— Reply to this email directly or view it on GitHub https://github.com/aarony422/Space_Station_Auction/issues/2#issuecomment-169940058.
Certainly passing that info to a constructor is reasonable approach. I suggested an init function to initialize a new auction without reconstructing the agent so that if we had a series of auctions, the agent could learn from one to the next. But we can always start under the assumption that typically there will be a single auction, and have that info passed to the constructor. If we decide later on to support additional auctions we can add another function.
cheers, tom
On Jan 8, 2016, at 4:05 AM, Aaron Young notifications@github.com wrote:
Yes, i believe so. Maybe Tom @tbwexler https://github.com/tbwexler can confirm that?
— Reply to this email directly or view it on GitHub https://github.com/aarony422/Space_Station_Auction/issues/2#issuecomment-169940058 .
Participants will be asked to define a subclass of a general biddingAgent class that implements the following functions:
getName(), getColor():
init(cards, id, players, budget) [5 second time limit]
getBid(card, index) [0.1 second time limit]
seeResults(card, winner, price, bids) [0.1 second time limit]