Class GADiagnosticPlotPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class GADiagnosticPlotPanel extends MultiplotPanel
Diagnostics panel for the image evolution GA demo. Currently hosts the fitness-error vs generation plot; extend with additional plots as needed.
See Also:
  • Constructor Details

    • GADiagnosticPlotPanel

      public GADiagnosticPlotPanel()
  • Method Details

    • update

      public void update(GAState state)
      Add a new data point. Called from the view on each refresh. Must be called on the EDT.
      Parameters:
      state - current GA state
    • clearAllPlots

      public void clearAllPlots()
      Clear all plot data — call before a reset.
      Overrides:
      clearAllPlots in class MultiplotPanel