edu.cuny.tac.aa.core
Class DailyRecord

java.lang.Object
  extended by edu.cuny.tac.aa.GameInfo
      extended by edu.cuny.tac.aa.core.DataRecord
          extended by edu.cuny.tac.aa.core.DailyRecord

public class DailyRecord
extends DataRecord

collects all the information on ad auctions for a particular day, including both actual data or estimates.

Version:
$Revision: 1.14 $
Author:
Jinzhong Niu

Field Summary
protected  java.util.Map<edu.umich.eecs.tac.props.Query,AuctionRecord> auctionRecords
           
protected static org.apache.log4j.Logger logger
           
 edu.umich.eecs.tac.props.QueryReport queryReport
           
 edu.umich.eecs.tac.props.SalesReport salesReport
           
 
Fields inherited from class edu.cuny.tac.aa.core.DataRecord
clicks, conversions, cost, cpc, ctr, cvr, impressions, income, limit, MIN_CPC, ppc, profitRate, profitUnitRate, promoted, revenue
 
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
DailyRecord(java.util.Set<edu.umich.eecs.tac.props.Query> querySpace)
           
 
Method Summary
 void fillCalculable()
           
 AuctionRecord getAuctionRecord(edu.umich.eecs.tac.props.Query query)
           
 double getMaxCpc()
           
 boolean reachLimitTop()
           
 
Methods inherited from class edu.cuny.tac.aa.core.DataRecord
reachLimitBottom
 
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, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger

auctionRecords

protected java.util.Map<edu.umich.eecs.tac.props.Query,AuctionRecord> auctionRecords

queryReport

public edu.umich.eecs.tac.props.QueryReport queryReport

salesReport

public edu.umich.eecs.tac.props.SalesReport salesReport
Constructor Detail

DailyRecord

public DailyRecord(java.util.Set<edu.umich.eecs.tac.props.Query> querySpace)
Method Detail

getAuctionRecord

public AuctionRecord getAuctionRecord(edu.umich.eecs.tac.props.Query query)

fillCalculable

public void fillCalculable()
Overrides:
fillCalculable in class DataRecord

getMaxCpc

public double getMaxCpc()

reachLimitTop

public boolean reachLimitTop()
Overrides:
reachLimitTop in class DataRecord