ec.display.chart
Class BarChartStatistics

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

public class BarChartStatistics
extends ChartableStatistics

See Also:
Serialized Form

Field Summary
 DefaultCategoryDataset dataset
           
 
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
BarChartStatistics()
           
 
Method Summary
 void makeBar(int seriesID, double[] genes)
           
 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
enteringInitialPopulationStatistics, enteringSteadyStateStatistics, finalStatistics, generationBoundaryStatistics, individualsBredStatistics, individualsEvaluatedStatistics, postBreedingStatistics, postCheckpointStatistics, postEvaluationStatistics, postInitializationStatistics, postPostBreedingExchangeStatistics, postPreBreedingExchangeStatistics, preBreedingStatistics, preCheckpointStatistics, preEvaluationStatistics, preInitializationStatistics, prePostBreedingExchangeStatistics, prePreBreedingExchangeStatistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataset

public DefaultCategoryDataset dataset
Constructor Detail

BarChartStatistics

public BarChartStatistics()
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

makeBar

public void makeBar(int seriesID,
                    double[] genes)