Package ec.display.chart
Class BarChartStatistics
java.lang.Object
ec.Statistics
ec.display.chart.ChartableStatistics
ec.display.chart.BarChartStatistics
- All Implemented Interfaces:
Setup,Singleton,Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class ec.display.chart.ChartableStatistics
P_TITLE, P_XAXIS, P_YAXIS, pdf, PDF, title, xlabel, ylabelFields inherited from class ec.Statistics
children, P_CHILD, P_MUZZLE, P_NUMCHILDREN, P_SILENT, P_SILENT_FILE, P_SILENT_PRINT, silentFile, silentPrint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmakeBar(int seriesID, double[] genes) org.jfree.chart.JFreeChartvoidsetup(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
-
Field Details
-
dataset
public org.jfree.data.category.DefaultCategoryDataset dataset
-
-
Constructor Details
-
BarChartStatistics
public BarChartStatistics()
-
-
Method Details
-
setup
Description copied from interface:SetupSets 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:
setupin interfaceSetup- Overrides:
setupin classChartableStatistics
-
makeChart
public org.jfree.chart.JFreeChart makeChart()- Specified by:
makeChartin classChartableStatistics
-
makeBar
public void makeBar(int seriesID, double[] genes)
-