ec.display.chart
Class XYSeriesChartStatistics

java.lang.Object
  extended by ec.Statistics
      extended by ec.display.chart.ChartableStatistics
          extended by ec.display.chart.XYSeriesChartStatistics
All Implemented Interfaces:
Setup, Singleton, java.io.Serializable

public abstract class XYSeriesChartStatistics
extends ChartableStatistics

See Also:
Serialized Form

Field Summary
 XYSeriesCollection seriesCollection
           
 
Fields inherited from class ec.display.chart.ChartableStatistics
P_TITLE, P_XAXIS, P_YAXIS, title, xlabel, ylabel
 
Fields inherited from class ec.Statistics
children, P_CHILD, P_NUMCHILDREN
 
Constructor Summary
XYSeriesChartStatistics()
           
 
Method Summary
 void addDataPoint(int seriesID, double x, double y)
           
 int addSeries(java.lang.String name)
           
 JFreeChart makeChart()
           
 void setup(EvolutionState state, Parameter base)
          Sets up the object by reading it from the parameters stored in state, built off of the parameter base base.
 
Methods inherited from class ec.Statistics
finalStatistics, generationBoundaryStatistics, individualsBredStatistics, individualsEvaluatedStatistics, postBreedingStatistics, postCheckpointStatistics, postEvaluationStatistics, postInitialEvaluationStatistics, postInitializationStatistics, postPostBreedingExchangeStatistics, postPreBreedingExchangeStatistics, preBreedingStatistics, preCheckpointStatistics, preEvaluationStatistics, preInitialEvaluationStatistics, preInitializationStatistics, prePostBreedingExchangeStatistics, prePreBreedingExchangeStatistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seriesCollection

public XYSeriesCollection seriesCollection
Constructor Detail

XYSeriesChartStatistics

public XYSeriesChartStatistics()
Method Detail

setup

public void setup(EvolutionState state,
                  Parameter base)
Description copied from interface: Setup
Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.

Specified by:
setup in interface Setup
Overrides:
setup in class ChartableStatistics

makeChart

public JFreeChart makeChart()
Specified by:
makeChart in class ChartableStatistics

addSeries

public int addSeries(java.lang.String name)

addDataPoint

public void addDataPoint(int seriesID,
                         double x,
                         double y)