|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This class represents a bid placed in an auction. More...
Public Member Functions | |
| Bid (int bidID, Bidder bidder, double price, List< Good > goodsList) | |
| The constructor assigns the instance variables of this object. | |
| int | getBidID () |
| Bidder | getBidder () |
| double | getPrice () |
| List< Good > | getGoodsList () |
| String | toString () |
Private Attributes | |
| int | bidID |
| ID of the bid; corresponds to position in source file. | |
| Bidder | bidder |
| Bidder who has placed this bid. | |
| double | price |
| Price the bidder is willing to pay when this bid wins. | |
| List< Good > | goodsList |
| List of goods contained in this bid. | |
This class represents a bid placed in an auction.
| Bidder frodo2.benchmarks.auctions.cats.Bid.getBidder | ( | ) |
References bidder.
Referenced by frodo2.benchmarks.auctions.cats.Auction.addBid(), and frodo2.benchmarks.auctions.xcsp.Constraints.addEqualityConstraintsOnBids().
| int frodo2.benchmarks.auctions.cats.Bid.getBidID | ( | ) |
References bidID.
Referenced by frodo2.benchmarks.auctions.xcsp.Constraints.addEqualityConstraintsOnBids().
| List< Good > frodo2.benchmarks.auctions.cats.Bid.getGoodsList | ( | ) |
References goodsList.
Referenced by frodo2.benchmarks.auctions.cats.Auction.addBid(), frodo2.benchmarks.auctions.xcsp.Constraints.addEqualityConstraintsOnBids(), and frodo2.benchmarks.auctions.xcsp.Relations.getGoodIDsForBid().
| double frodo2.benchmarks.auctions.cats.Bid.getPrice | ( | ) |
References price.
| String frodo2.benchmarks.auctions.cats.Bid.toString | ( | ) |
|
private |
Bidder who has placed this bid.
Referenced by Bid(), and getBidder().
|
private |
ID of the bid; corresponds to position in source file.
Referenced by Bid(), and getBidID().
|
private |
List of goods contained in this bid.
Referenced by Bid(), and getGoodsList().
|
private |
Price the bidder is willing to pay when this bid wins.
Referenced by Bid(), and getPrice().