net.sourceforge.jasa.report
Class StrategyPayoffReport
java.lang.Object
net.sourceforge.jasa.report.AbstractAuctionReport
net.sourceforge.jasa.report.AbstractMarketStatsReport
net.sourceforge.jasa.report.DynamicSurplusReport
net.sourceforge.jasa.report.PayoffReport
net.sourceforge.jasa.report.StrategyPayoffReport
- All Implemented Interfaces:
- java.io.Serializable, AuctionReport
public class StrategyPayoffReport
- extends PayoffReport
A historicalDataReport that lists the ratio of actual to theoretical profits of each
strategy being played in the market. Note that strategies are identified by
their class, so two agents configured with the same class of strategy, but
with different parameters, will be grouped together.
- See Also:
- Serialized Form
-
-

Methods inherited from class net.sourceforge.jasa.report.DynamicSurplusReport |
calculateTotalEquilibriumSurplus, calculateTotalProfits, compute, equilibriumSurplus, getEfficiency, getEquilibriumProfits, getQuantity, reset, setAuction, setQuantity, updateStats |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrategyPayoffReport
public StrategyPayoffReport()
getKey
public java.lang.Object getKey(AbstractTradingAgent agent)
- Description copied from class:
PayoffReport
- Map an agent onto a group.
- Specified by:
getKey
in class PayoffReport
- Parameters:
agent
- The agent to map from.
- Returns:
- An object representing the grouping of this agent.
getKeyName
public java.lang.String getKeyName()
- Description copied from class:
PayoffReport
- Return user-friendly description of the space of groups.
- Specified by:
getKeyName
in class PayoffReport
- Returns:
- A string describing the grouping of this historicalDataReport.
getReportText
public java.lang.String getReportText()
- Specified by:
getReportText
in class PayoffReport