uk.ac.liv.auction.stats
Class StrategyPayoffReport
java.lang.Object
uk.ac.liv.auction.stats.AbstractAuctionReport
uk.ac.liv.auction.stats.AbstractMarketStatsReport
uk.ac.liv.auction.stats.DynamicSurplusReport
uk.ac.liv.auction.stats.PayoffReport
uk.ac.liv.auction.stats.StrategyPayoffReport
- All Implemented Interfaces:
- AuctionEventListener, AuctionReport, Parameterizable, Resetable, java.io.Serializable
- public class StrategyPayoffReport
- extends PayoffReport
A report that lists the ratio of actual to theoretical profits of each
strategy being played in the auction. 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.
- Version:
- $Revision: 1.4 $
- Author:
- Steve Phelps
- See Also:
- Serialized Form
| 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 report.
getReportText
public java.lang.String getReportText()
- Specified by:
getReportText in class PayoffReport