public final class ItemAllocation<T extends org.spectrumauctions.sats.core.model.Good> extends Object implements Allocation<org.spectrumauctions.sats.core.model.Bundle<T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemAllocation.ItemAllocationBuilder<T extends org.spectrumauctions.sats.core.model.Good> |
| Modifier and Type | Method and Description |
|---|---|
org.spectrumauctions.sats.core.model.Bundle<T> |
getAllocation(org.spectrumauctions.sats.core.model.Bidder<?> bidder)
Returns information about the goods allocated to a specific bidder
|
Collection<org.spectrumauctions.sats.core.model.Bidder<T>> |
getBidders() |
BigDecimal |
getTotalValue() |
public Collection<org.spectrumauctions.sats.core.model.Bidder<T>> getBidders()
getBidders in interface Allocation<org.spectrumauctions.sats.core.model.Bundle<T extends org.spectrumauctions.sats.core.model.Good>>public org.spectrumauctions.sats.core.model.Bundle<T> getAllocation(org.spectrumauctions.sats.core.model.Bidder<?> bidder)
AllocationgetAllocation in interface Allocation<org.spectrumauctions.sats.core.model.Bundle<T extends org.spectrumauctions.sats.core.model.Good>>public BigDecimal getTotalValue()
getTotalValue in interface Allocation<org.spectrumauctions.sats.core.model.Bundle<T extends org.spectrumauctions.sats.core.model.Good>>Copyright © 2017. All rights reserved.