|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cuny.tac.aa.GameInfo
edu.cuny.tac.aa.strategy.BiddingStrategy
edu.cuny.tac.aa.strategy.CyclicBiddingStrategy
public class CyclicBiddingStrategy
This is a simple, non-adaptive, bidding strategy that is used in MetroClick for AA'09 qualifying rounds. It sets bids and spending limits up and down at prefixed values in a cyclic manner, partly aiming to fool opponents.
Field Summary | |
---|---|
protected int |
counter
a counter that resets each cycle. |
protected int |
cycleInc
an increase of cycle length after a cycle completes. |
protected int |
cycleLength
the length of the current cycle. |
static double[] |
DEFAULT_LEVELS
|
int[][] |
DEFAULT_PHASES
by default 1 day with high bid, 1 with medium bid, and the rest with low bids |
static int |
HIGH_INDEX
|
protected static int |
INIT_CYCLE_LENGTH
|
protected int |
initCycleLength
|
protected double[] |
levels
|
protected double |
limit
|
protected double[] |
limitZoomers
for low bids, medium bids, and high bids in order |
static int |
LOW_INDEX
|
static int |
MEDIUM_INDEX
|
static java.lang.String |
P_CYCLE_INC
|
static java.lang.String |
P_CYCLE_LENGTH
|
static java.lang.String |
P_END
|
static java.lang.String |
P_LEVEL
|
static java.lang.String[] |
P_LEVELS
|
static java.lang.String |
P_LIMIT
|
static java.lang.String |
P_NUM
|
static java.lang.String |
P_PHASE
|
static java.lang.String |
P_START
|
protected int[][] |
phases
phases to set fixed bids |
protected double |
startLimitZoomer
|
Fields inherited from class edu.cuny.tac.aa.strategy.BiddingStrategy |
---|
advertiserInfo, bankStatus, bidBundles, constraintEffect, conversionsInCapacityWindow, dailyRecords, day, game, P_DEF_BASE, publisherInfo, queryReport, queryReports, querySpace, retailCatalog, salesReport, salesReports, slotInfo, specialty, startInfo, valueBundles |
Fields inherited from class edu.cuny.tac.aa.GameInfo |
---|
BL, CAPACITY, CLICKS, COMPONENT, COMPONENT_NAMES, CONVERSIONS, COST, CPC, CTR, CVR, DAY_DIFF, DV, ERROR, Formatter, GAME_LENGTH, HIGH_CAPACITY, IMPRESSIONS, INCOME, INDIV_POPULATION_SIZE, LIMIT, LOW_CAPACITY, MANUFACTURER, MANUFACTURER_NAMES, MED_CAPACITY, NUM_OF_COMPONENTS, NUM_OF_MANUFACTURERS, NUM_OF_PRODUCTS, NUM_OF_USER_STAETS, P_AA, POSITION, PR_BST_NStoIS, PR_BST_NStoNS, PR_BURST, PR_F0toF0, PR_F0toF1, PR_F0toNS, PR_F1toF1, PR_F1toF2, PR_F1toNS, PR_F2toF2, PR_F2toNS, PR_IStoF0, PR_IStoF1, PR_IStoF2, PR_IStoIS, PR_IStoNS, PR_STD_NStoIS, PR_STD_NStoNS, PR_TtoNS, PR_TtoT, PROFIT_RATE, PROFIT_UNIT_RATE, PROMOTED, PROMOTED_IMPRESSIONS, REGULAR, REGULAR_IMPRESSIONS, REVENUE, USER_STATE_NAMES, USP |
Constructor Summary | |
---|---|
CyclicBiddingStrategy()
|
Method Summary | |
---|---|
protected edu.umich.eecs.tac.props.BidBundle |
prepareBidBundle(edu.umich.eecs.tac.props.BidBundle valueBundle)
|
void |
setup(edu.cuny.util.ParameterDatabase parameters,
edu.cuny.util.Parameter base)
|
java.lang.String |
toString()
|
Methods inherited from class edu.cuny.tac.aa.GameInfo |
---|
isHighCapacity, isLowCapacity, isMedCapacity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String P_LIMIT
public static final java.lang.String P_PHASE
public static final java.lang.String P_NUM
public static final java.lang.String P_START
public static final java.lang.String P_END
public static final java.lang.String P_LEVEL
public static final java.lang.String[] P_LEVELS
public static final int HIGH_INDEX
public static final int MEDIUM_INDEX
public static final int LOW_INDEX
public static final java.lang.String P_CYCLE_LENGTH
public static final java.lang.String P_CYCLE_INC
protected static final int INIT_CYCLE_LENGTH
protected int initCycleLength
protected int cycleLength
protected int cycleInc
protected int counter
public static final double[] DEFAULT_LEVELS
protected double[] levels
public int[][] DEFAULT_PHASES
protected int[][] phases
protected double limit
protected double[] limitZoomers
protected double startLimitZoomer
Constructor Detail |
---|
public CyclicBiddingStrategy()
Method Detail |
---|
public void setup(edu.cuny.util.ParameterDatabase parameters, edu.cuny.util.Parameter base)
setup
in interface edu.cuny.util.Parameterizable
setup
in class BiddingStrategy
protected edu.umich.eecs.tac.props.BidBundle prepareBidBundle(edu.umich.eecs.tac.props.BidBundle valueBundle)
prepareBidBundle
in class BiddingStrategy
public java.lang.String toString()
toString
in class BiddingStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |