public abstract class CCAMechanism<T extends Good> extends Object implements AuctionMechanism<T>
| Modifier and Type | Field and Description |
|---|---|
protected List<Bidder<T>> |
bidders |
protected int |
clockPhaseNumberOfBundles |
protected double |
epsilon |
protected int |
maxRounds |
protected PaymentRuleEnum |
paymentRule |
protected MechanismResult<T> |
result |
protected BigDecimal |
startingPrice |
protected int |
totalRounds |
| Constructor and Description |
|---|
CCAMechanism(List<Bidder<T>> bidders) |
| Modifier and Type | Method and Description |
|---|---|
void |
adjustPayoffs(Map<Bidder<T>,Double> payoffs) |
Allocation<T> |
calculateAllocation() |
WinnerDeterminator<T> |
copyOf() |
double |
getEpsilon() |
abstract MechanismResult<T> |
getMechanismResult() |
Payment<T> |
getPayment() |
int |
getTotalRounds() |
WinnerDeterminator<T> |
getWdWithoutBidder(Bidder<T> bidder) |
void |
setClockPhaseNumberOfBundles(int clockPhaseNumberOfBundles) |
void |
setEpsilon(double epsilon) |
void |
setMaxRounds(int maxRounds) |
void |
setPaymentRule(PaymentRuleEnum paymentRule) |
void |
setStartingPrice(BigDecimal startingPrice) |
protected int totalRounds
protected BigDecimal startingPrice
protected double epsilon
protected int maxRounds
protected PaymentRuleEnum paymentRule
protected int clockPhaseNumberOfBundles
protected MechanismResult<T extends Good> result
public abstract MechanismResult<T> getMechanismResult()
getMechanismResult in interface AuctionMechanism<T extends Good>public void setEpsilon(double epsilon)
public Payment<T> getPayment()
getPayment in interface PaymentDeterminator<T extends Good>public WinnerDeterminator<T> getWdWithoutBidder(Bidder<T> bidder)
getWdWithoutBidder in interface WinnerDeterminator<T extends Good>public Allocation<T> calculateAllocation()
calculateAllocation in interface WinnerDeterminator<T extends Good>public WinnerDeterminator<T> copyOf()
copyOf in interface WinnerDeterminator<T extends Good>public void adjustPayoffs(Map<Bidder<T>,Double> payoffs)
adjustPayoffs in interface WinnerDeterminator<T extends Good>public void setStartingPrice(BigDecimal startingPrice)
public void setMaxRounds(int maxRounds)
public void setClockPhaseNumberOfBundles(int clockPhaseNumberOfBundles)
public int getTotalRounds()
public void setPaymentRule(PaymentRuleEnum paymentRule)
public double getEpsilon()
Copyright © 2018. All rights reserved.