public class NonGenericCCAMechanism<T extends Good> extends CCAMechanism<T>
bidders, clockPhaseNumberOfBundles, epsilon, maxRounds, paymentRule, result, startingPrice, totalRounds| Constructor and Description |
|---|
NonGenericCCAMechanism(List<Bidder<T>> bidders,
NonGenericDemandQueryMIPBuilder<T> nonGenericDemandQueryMIPBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSupplementaryRound(NonGenericSupplementaryRound<T> nonGenericSupplementaryRound) |
Allocation<T> |
calculateAllocationAfterSupplementaryRound() |
Allocation<T> |
calculateClockPhaseAllocation() |
XORBid<T> |
getBidAfterClockPhase(Bidder<T> bidder) |
XORBid<T> |
getBidAfterSupplementaryRound(Bidder<T> bidder) |
Map<Bidder<T>,Integer> |
getBidCountAfterClockPhase() |
Map<Bidder<T>,Integer> |
getBidCountAfterSupplementaryRound() |
Collection<XORBid<T>> |
getBidsAfterClockPhase() |
Collection<XORBid<T>> |
getBidsAfterSupplementaryRound() |
NonGenericDemandQueryMIPBuilder<T> |
getDemandQueryBuilder() |
Map<T,BigDecimal> |
getFinalPrices() |
Map<T,BigDecimal> |
getLastPrices() |
MechanismResult<T> |
getMechanismResult() |
int |
getSupplyMinusDemand() |
Map<Bidder<T>,Integer> |
getXORBidsCount() |
void |
setPriceUpdater(NonGenericPriceUpdater<T> nonGenericPriceUpdater) |
adjustPayoffs, calculateAllocation, copyOf, getEpsilon, getPayment, getTotalRounds, getWdWithoutBidder, setClockPhaseNumberOfBundles, setEpsilon, setMaxRounds, setPaymentRule, setStartingPricepublic NonGenericCCAMechanism(List<Bidder<T>> bidders, NonGenericDemandQueryMIPBuilder<T> nonGenericDemandQueryMIPBuilder)
public MechanismResult<T> getMechanismResult()
getMechanismResult in interface AuctionMechanism<T extends Good>getMechanismResult in class CCAMechanism<T extends Good>public Allocation<T> calculateClockPhaseAllocation()
public Allocation<T> calculateAllocationAfterSupplementaryRound()
public int getSupplyMinusDemand()
public Collection<XORBid<T>> getBidsAfterClockPhase()
public Collection<XORBid<T>> getBidsAfterSupplementaryRound()
public void setPriceUpdater(NonGenericPriceUpdater<T> nonGenericPriceUpdater)
public void addSupplementaryRound(NonGenericSupplementaryRound<T> nonGenericSupplementaryRound)
public Map<Bidder<T>,Integer> getBidCountAfterSupplementaryRound()
public NonGenericDemandQueryMIPBuilder<T> getDemandQueryBuilder()
public Map<T,BigDecimal> getFinalPrices()
public Map<T,BigDecimal> getLastPrices()
Copyright © 2018. All rights reserved.