public class NonGenericCCAMechanism<T extends Good> extends CCAMechanism<T>
bidders, clockPhaseNumberOfBundles, DEFAULT_STARTING_PRICE, epsilon, fallbackStartingPrice, maxRounds, paymentRule, result, totalRounds| Constructor and Description |
|---|
NonGenericCCAMechanism(List<Bidder<T>> bidders,
NonGenericDemandQueryMIPBuilder<T> nonGenericDemandQueryMIPBuilder) |
adjustPayoffs, calculateAllocation, calculateSampledStartingPrices, copyOf, getEpsilon, getPayment, getTotalRounds, getWdWithoutBidder, setClockPhaseNumberOfBundles, setEpsilon, setFallbackStartingPrice, setMaxRounds, setPaymentRulepublic 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 void setStartingPrice(Good good, BigDecimal price)
public void calculateSampledStartingPrices(int bidsPerBidder,
int numberOfWorldSamples,
double fraction,
long seed)
CCAMechanismcalculateSampledStartingPrices in class CCAMechanism<T extends Good>bidsPerBidder - How many bids are collected per bidder in each worldnumberOfWorldSamples - How many parallel worlds are created to collect these bidsfraction - The fraction of the estimated value that is turned into the starting priceseed - The seed used for drawing the valuespublic 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 © 2019. All rights reserved.