net.sourceforge.jabm.report
Class PayoffByStrategyReportVariables

java.lang.Object
  extended by net.sourceforge.jabm.event.AbstractModel
      extended by net.sourceforge.jabm.report.AbstractReportVariables
          extended by net.sourceforge.jabm.report.PayoffByStrategyReportVariables
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, EventListener, Model, Report, ReportVariables, XYReportVariables

public class PayoffByStrategyReportVariables
extends AbstractReportVariables
implements ReportVariables, java.io.Serializable

See Also:
Serialized Form
 

Field Summary
 
Fields inherited from class net.sourceforge.jabm.report.AbstractReportVariables
name, simulation, timeStamp, xVariableName, yVariableNames
 
Fields inherited from class net.sourceforge.jabm.event.AbstractModel
deleteQueue, genericListeners, specificListeners
 
Constructor Summary
PayoffByStrategyReportVariables()
           
 
Method Summary
 void compute(SimEvent e)
          Update variables.
 void dispose(SimEvent event)
          Clean up any side effects (eg close file).
 PayoffMap getPayoffMap()
           
 java.util.Map<java.lang.Object,java.lang.Number> getVariableBindings()
          Get the values calculated by this report.
 void initialise()
           
 void initialise(SimEvent event)
          Initialise the variables in response to event.
 void setPayoffMap(PayoffMap payoffMap)
           
 
Methods inherited from class net.sourceforge.jabm.report.AbstractReportVariables
createVariable, eventOccurred, getName, getNumberOfSeries, getTimeStamp, getX, getxVariableName, getY, getyVariableNames, recordMoments, recordSummaryStatistics, setName, tag
 
Methods inherited from class net.sourceforge.jabm.event.AbstractModel
addListener, addListener, clearListeners, clone, fireEvent, notifyGenericListeners, notifySpecificListeners, processDeleteQueue, removeListener
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.jabm.report.ReportVariables
getName
 
Methods inherited from interface net.sourceforge.jabm.event.EventListener
eventOccurred
 

Constructor Detail

PayoffByStrategyReportVariables

public PayoffByStrategyReportVariables()
Method Detail

compute

public void compute(SimEvent e)
Description copied from interface: ReportVariables
Update variables.

Specified by:
compute in interface ReportVariables
Overrides:
compute in class AbstractReportVariables

getVariableBindings

public java.util.Map<java.lang.Object,java.lang.Number> getVariableBindings()
Description copied from interface: Report
Get the values calculated by this report.

Specified by:
getVariableBindings in interface Report
Overrides:
getVariableBindings in class AbstractReportVariables
Returns:
A Map of user-readable variable names to their associated values.

getPayoffMap

public PayoffMap getPayoffMap()

setPayoffMap

public void setPayoffMap(PayoffMap payoffMap)

dispose

public void dispose(SimEvent event)
Description copied from interface: ReportVariables
Clean up any side effects (eg close file).

Specified by:
dispose in interface ReportVariables
Overrides:
dispose in class AbstractReportVariables

initialise

public void initialise(SimEvent event)
Description copied from interface: ReportVariables
Initialise the variables in response to event.

Specified by:
initialise in interface ReportVariables
Overrides:
initialise in class AbstractReportVariables

initialise

public void initialise()