public class GenericCCAMechanism<G extends GenericDefinition<T>,T extends Good> extends CCAMechanism<T>
bidders, clockPhaseNumberOfBundles, epsilon, maxRounds, paymentRule, result, startingPrice, totalRounds| Constructor and Description |
|---|
GenericCCAMechanism(List<Bidder<T>> bidders,
GenericDemandQueryMIPBuilder<G,T> genericDemandQueryMIPBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSupplementaryRound(GenericSupplementaryRound<G,T> genericSupplementaryRound) |
Allocation<T> |
calculateAllocationAfterSupplementaryRound() |
Allocation<T> |
calculateClockPhaseAllocation() |
GenericBid<G,T> |
getBidAfterClockPhase(Bidder<T> bidder) |
GenericBid<G,T> |
getBidAfterSupplementaryRound(Bidder<T> bidder) |
Map<Bidder<T>,Integer> |
getBidCountAfterClockPhase() |
Map<Bidder<T>,Integer> |
getBidCountAfterSupplementaryRound() |
Collection<GenericBid<G,T>> |
getBidsAfterSupplementaryRound() |
GenericDemandQueryMIPBuilder<G,T> |
getDemandQueryBuilder() |
Map<G,BigDecimal> |
getFinalPrices() |
Map<G,BigDecimal> |
getLastPrices() |
MechanismResult<T> |
getMechanismResult() |
int |
getSupplyMinusDemand() |
void |
setPriceUpdater(GenericPriceUpdater<G,T> genericPriceUpdater) |
adjustPayoffs, calculateAllocation, copyOf, getEpsilon, getPayment, getTotalRounds, getWdWithoutBidder, setClockPhaseNumberOfBundles, setEpsilon, setMaxRounds, setPaymentRule, setStartingPricepublic 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 Collection<GenericBid<G,T>> getBidsAfterSupplementaryRound()
public int getSupplyMinusDemand()
public void setPriceUpdater(GenericPriceUpdater<G,T> genericPriceUpdater)
public void addSupplementaryRound(GenericSupplementaryRound<G,T> genericSupplementaryRound)
public Map<Bidder<T>,Integer> getBidCountAfterSupplementaryRound()
public GenericDemandQueryMIPBuilder<G,T> getDemandQueryBuilder()
public Map<G,BigDecimal> getFinalPrices()
public Map<G,BigDecimal> getLastPrices()
public GenericBid<G,T> getBidAfterClockPhase(Bidder<T> bidder)
public GenericBid<G,T> getBidAfterSupplementaryRound(Bidder<T> bidder)
Copyright © 2018. All rights reserved.