public final class ItemAllocation<T extends Good> extends Object implements Allocation<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemAllocation.ItemAllocationBuilder<T extends Good> |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Bundle<T> |
getAllocation(Bidder<T> bidder)
Returns information about the goods allocated to a specific bidder
|
Allocation<T> |
getAllocationWithTrueValues() |
BigDecimal |
getTotalValue() |
BigDecimal |
getTradeValue(Bidder<T> bidder) |
Collection<Bidder<T>> |
getWinners() |
int |
hashCode() |
String |
toString() |
public Collection<Bidder<T>> getWinners()
getWinners in interface Allocation<T extends Good>public Bundle<T> getAllocation(Bidder<T> bidder)
AllocationgetAllocation in interface Allocation<T extends Good>public BigDecimal getTotalValue()
getTotalValue in interface Allocation<T extends Good>public BigDecimal getTradeValue(Bidder<T> bidder)
getTradeValue in interface Allocation<T extends Good>public Allocation<T> getAllocationWithTrueValues()
getAllocationWithTrueValues in interface Allocation<T extends Good>Copyright © 2019. All rights reserved.