Package ec.display.chart
Class PieChartStatistics
java.lang.Object
ec.Statistics
ec.display.chart.ChartableStatistics
ec.display.chart.PieChartStatistics
- 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 TypeMethodDescriptionorg.jfree.chart.JFreeChartvoidmakeSector(int seriesID, double[] genes) voidsetup(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.general.DefaultPieDataset dataset
-
-
Constructor Details
-
PieChartStatistics
public PieChartStatistics()
-
-
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
-
makeSector
public void makeSector(int seriesID, double[] genes)
-