| Constructor and Description |
|---|
Payment(Map<Bidder<T>,BidderPayment> payments) |
| Modifier and Type | Method and Description |
|---|---|
Map<Bidder<T>,BidderPayment> |
getPaymentMap() |
Collection<BidderPayment> |
getPayments() |
double |
getTotalPayments() |
Set<Bidder<T>> |
getWinners() |
static <T extends Good> |
getZeroPayment(Set<Bidder<T>> bidders) |
boolean |
isWinner(Bidder<T> bidder) |
BidderPayment |
paymentOf(Bidder<T> bidder) |
String |
toString() |
public Payment(Map<Bidder<T>,BidderPayment> payments)
payments - Map of bidder to payments. One payment per bidder. Payment may
be 0 and allocation may of payment may be emptypublic double getTotalPayments()
public Collection<BidderPayment> getPayments()
public Map<Bidder<T>,BidderPayment> getPaymentMap()
public BidderPayment paymentOf(Bidder<T> bidder)
Copyright © 2019. All rights reserved.