|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.stat.DirectRevelationReport
edu.cuny.cat.stat.MarketMetricsReport
public class MarketMetricsReport
A report calculating actual efficiency, actual convergence coefficient, and equilibrium price, quantitiy, and profit of specialists.
Report variables
global.efficiency |
the efficiency of the global market. |
global.convergence_coefficient |
the convergence coefficient of the global market. |
global.profit |
the profit dispersion of the global market. |
global.equilibrium.price |
the equilibrium price of the global market. |
global.equilibrium.quantity |
the equilibrium quantity of the global market. |
global.equilibrium.profit |
the equilibrium profit of the global market. |
global.profit_dispersion |
the profit dispersion of the global market. |
global.equilibrium.<shout>.quantity |
the total quantity of goods in shouts of certain types at the global market. |
global.equilibrium.<shout>.price.min |
the min price of shouts of certain type at the global market. |
global.equilibrium.<shout>.price.max |
the max price of shouts of certain type at the global market. |
global.equilibrium.<shout>.price.mean |
the mean price of shouts of certain type at the global market. |
global.equilibrium.<shout>.price.stdev |
the stdev of prices of shouts of certain type at the global market. | <specialist>.efficiency |
the efficiency of a specialist. |
<specialist>.convergence_coefficient |
the convergence coefficient of a specialist. |
<specialist>.profit_dispersion |
the profit dispersion of a specialist. |
<specialist>.equilibrium.price |
the equilibrium price of a specialist. |
<specialist>.equilibrium.quantity |
the equilibrium quantity of a specialist. |
<specialist>.equilibrium.profit |
the equilibrium profit of a specialist. |
<specialist>.equilibrium.<shout>.quantity |
the total quantity of goods in shouts of certain type at a specialist. |
<specialist>.equilibrium.<shout>.price.min |
the min price of shouts of certain type at a specialist. |
<specialist>.equilibrium.<shout>.price.max |
the max price of shouts of certain type at a specialist. |
<specialist>.equilibrium.<shout>.price.mean |
the mean price of shouts of certain type at a specialist. |
<specialist>.equilibrium.<shout>.price.stdev |
the stdev of prices of shouts of certain type at a specialist. |
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,java.util.Set<Transaction>> |
dailyTransactions
all transactions made today grouped based on specialists |
protected Registry |
registry
|
| Fields inherited from class edu.cuny.cat.stat.DirectRevelationReport |
|---|
globalShoutEngine, shoutEngines, shouts |
| 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 |
| Constructor Summary | |
|---|---|
MarketMetricsReport()
|
|
| Method Summary | |
|---|---|
void |
calculate()
|
protected void |
calculateGlobally()
calculates the global market including all the specialists |
protected void |
calculateIndividually()
calculates each individual specialist |
void |
eventOccurred(AuctionEvent event)
|
java.util.Map<edu.cuny.stat.ReportVariable,?> |
getVariables()
|
void |
produceUserOutput()
|
void |
updateCurrentDayTransactions(TransactionExecutedEvent event)
|
| Methods inherited from class edu.cuny.cat.stat.DirectRevelationReport |
|---|
reset, simulateDirectRevelation, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<java.lang.String,java.util.Set<Transaction>> dailyTransactions
protected Registry registry
| Constructor Detail |
|---|
public MarketMetricsReport()
| Method Detail |
|---|
public java.util.Map<edu.cuny.stat.ReportVariable,?> getVariables()
public void eventOccurred(AuctionEvent event)
eventOccurred in interface AuctionEventListenereventOccurred in class DirectRevelationReportpublic void updateCurrentDayTransactions(TransactionExecutedEvent event)
public void produceUserOutput()
public void calculate()
calculate in class DirectRevelationReportprotected void calculateIndividually()
protected void calculateGlobally()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||