edu.cuny.cat.stat
Class DailyAssessmentReport
java.lang.Object
edu.cuny.cat.stat.DailyAssessmentReport
- All Implemented Interfaces:
- AuctionEventListener, GameReport, edu.cuny.stat.Report<AuctionEvent>, java.util.EventListener
- Direct Known Subclasses:
- ScoreReport
public class DailyAssessmentReport
- extends java.lang.Object
- implements GameReport
A report executing daily assessment on specialists according to the TAC
market design tournament assessment process document.
Report variables
<specialist>.score |
the daily score of a specialist. |
<specialist>.score.marketshare |
the daily market share score of a specialist. |
<specialist>.score.profit |
the daily profit score of a specialist. |
<specialist>.score.transactionrate |
the daily transaction success rate score of a specialist. |
- Version:
- $Revision: 1.19 $
- Author:
- Jinzhong Niu
Fields inherited from interface edu.cuny.cat.stat.GameReport |
ACCEPTED, ASK, BID, CONVERGENCE_COEFFICIENT, EFFICIENCY, EQUILIBRIUM, FEE, Formatter, GLOBAL, MARKETSHARE, MAX, MEAN, MIN, PLACED, PRICE, PROFIT, PROFIT_DISPERSION, QUANTITY, SCORE, SHOUT, SPECIALIST, STDEV, TOTAL, TRADER, TRANSACTION, TRANSACTIONRATE, VALUE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
preCurDayProfits
protected java.util.Map<java.lang.String,java.lang.Double> preCurDayProfits
dailyScores
protected java.util.Map<java.lang.String,Score> dailyScores
logController
protected edu.cuny.stat.LoggingController logController
DailyAssessmentReport
public DailyAssessmentReport()
getVariables
public java.util.Map<edu.cuny.stat.ReportVariable,?> getVariables()
eventOccurred
public void eventOccurred(AuctionEvent event)
- Specified by:
eventOccurred
in interface AuctionEventListener
initCumulativeProfitRecords
protected void initCumulativeProfitRecords()
resetDailyScores
protected void resetDailyScores()
initDailyScores
protected void initDailyScores()
calculateMarketShares
protected void calculateMarketShares()
calculateProfits
protected void calculateProfits()
calculateTransactionRates
protected void calculateTransactionRates()
calculateDailyScores
protected void calculateDailyScores()
reportDailyScores
protected void reportDailyScores()
getDailyScore
public Score getDailyScore(java.lang.String specialistId)
produceUserOutput
public void produceUserOutput()
- Specified by:
produceUserOutput
in interface edu.cuny.stat.Report<AuctionEvent>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object