Class ActionFactory

java.lang.Object
org.moeaframework.analysis.diagnostics.ActionFactory

public class ActionFactory extends Object
Collection of actions used by the diagnostic tool.
  • Constructor Details

    • ActionFactory

      public ActionFactory(DiagnosticTool frame, Controller controller)
      Constructs a new action factory.
      Parameters:
      frame - the DiagnosticTool instance on which these actions operate
      controller - the Controller instance on which these actions operate
  • Method Details

    • initialize

      protected void initialize()
      Initializes the actions used by this action factory.
    • getSaveAction

      public Action getSaveAction()
      Returns the action to save the results to a file.
      Returns:
      the action to save the results to a file
    • getLoadAction

      public Action getLoadAction()
      Returns the action to load results from a file.
      Returns:
      the action to load results from a file
    • getExitAction

      public Action getExitAction()
      Returns the action to close the diagnostic tool.
      Returns:
      the action to close the diagnostic tool
    • getShowLastTraceAction

      public Action getShowLastTraceAction()
      Returns the action to show the last run's trace.
      Returns:
      the action to show the last run's trace
    • getEnableAllIndicatorsAction

      public Action getEnableAllIndicatorsAction()
      Returns the action to toggle on all indocator collectors.
      Returns:
      the action to toggle on all indocator collectors
    • getDisableAllIndicatorsAction

      public Action getDisableAllIndicatorsAction()
      Returns the action to toggle off all indocator collectors.
      Returns:
      the action to toggle off all indocator collectors
    • getIncludeHypervolumeAction

      public Action getIncludeHypervolumeAction()
      Returns the action to toggle the inclusion of the hypervolume indicator collector.
      Returns:
      the action to toggle the inclusion of the hypervolume indicator collector
    • getIncludeGenerationalDistanceAction

      public Action getIncludeGenerationalDistanceAction()
      Returns the action to toggle the inclusion of the generational distance indicator collector.
      Returns:
      the action to toggle the inclusion of the generational distance indicator collector
    • getIncludeGenerationalDistancePlusAction

      public Action getIncludeGenerationalDistancePlusAction()
      Returns the action to toggle the inclusion of the generational distance plus indicator collector.
      Returns:
      the action to toggle the inclusion of the generational distance plus indicator collector
    • getIncludeInvertedGenerationalDistanceAction

      public Action getIncludeInvertedGenerationalDistanceAction()
      Returns the action to toggle the inclusion of the inverted generational distance indicator collector.
      Returns:
      the action to toggle the inclusion of the inverted generational distance indicator collector
    • getIncludeInvertedGenerationalDistancePlusAction

      public Action getIncludeInvertedGenerationalDistancePlusAction()
      Returns the action to toggle the inclusion of the inverted generational distance plus indicator collector.
      Returns:
      the action to toggle the inclusion of the inverted generational distance plus indicator collector
    • getIncludeSpacingAction

      public Action getIncludeSpacingAction()
      Returns the action to toggle the inclusion the spacing indicator collector.
      Returns:
      the action to toggle the inclusion the spacing indicator collector
    • getIncludeAdditiveEpsilonIndicatorAction

      public Action getIncludeAdditiveEpsilonIndicatorAction()
      Returns the action to toggle the inclusion of the additive ε-indicator collector.
      Returns:
      the action to toggle the inclusion of the additive ε-indicator collector
    • getIncludeContributionAction

      public Action getIncludeContributionAction()
      Returns the action to toggle the inclusion of the contribution indicator collector.
      Returns:
      the action to toggle the inclusion of the contribution indicator collector
    • getIncludeR1Action

      public Action getIncludeR1Action()
      Returns the action to toggle the inclusion of the R1 indicator collector.
      Returns:
      the action to toggle the inclusion of the R1 indicator collector
    • getIncludeR2Action

      public Action getIncludeR2Action()
      Returns the action to toggle the inclusion of the R2 indicator collector.
      Returns:
      the action to toggle the inclusion of the R2 indicator collector
    • getIncludeR3Action

      public Action getIncludeR3Action()
      Returns the action to toggle the inclusion of the R3 indicator collector.
      Returns:
      the action to toggle the inclusion of the R3 indicator collector
    • getIncludeEpsilonProgressAction

      public Action getIncludeEpsilonProgressAction()
      Returns the action to toggle the inclusion of ε-progress restart collector.
      Returns:
      the action to toggle the inclusion of ε-progress restart collector
    • getIncludeAdaptiveMultimethodVariationAction

      public Action getIncludeAdaptiveMultimethodVariationAction()
      Returns the action to toggle the inclusion of the adaptive multimethod variation collector.
      Returns:
      the action to toggle the inclusion of the adaptive multimethod variation collector
    • getIncludeAdaptiveTimeContinuationAction

      public Action getIncludeAdaptiveTimeContinuationAction()
      Returns the action to toggle the inclusion of the adaptive time continuation collector.
      Returns:
      the action to toggle the inclusion of the adaptive time continuation collector
    • getIncludeElapsedTimeAction

      public Action getIncludeElapsedTimeAction()
      Returns the action to toggle the inclusion of the elapsed time collector.
      Returns:
      the action to toggle the inclusion of the elapsed time collector
    • getIncludePopulationSizeAction

      public Action getIncludePopulationSizeAction()
      Returns the action to toggle the inclusion of the population size collector.
      Returns:
      the action to toggle the inclusion of the population size collector
    • getIncludeApproximationSetAction

      public Action getIncludeApproximationSetAction()
      Returns the action to toggle the inclusion of the approximation set collector.
      Returns:
      the action to toggle the inclusion of the approximation set collector
    • getMemoryUsageAction

      public Action getMemoryUsageAction()
      Returns the action for displaying memory usage.
      Returns:
      the action for displaying memory usage
    • getRunAction

      public Action getRunAction()
      Returns the action for starting the evaluation task.
      Returns:
      the action for starting the evaluation task
    • getCancelAction

      public Action getCancelAction()
      Returns the action for canceling a running evaluation task.
      Returns:
      the action for canceling a running evaluation task
    • getClearAction

      public Action getClearAction()
      Returns the action for clearing all results.
      Returns:
      the action for clearing all results
    • getShowStatisticsAction

      public Action getShowStatisticsAction()
      Returns the action for showing a statistical comparison of the results.
      Returns:
      the action for showing a statistical comparison of the results
    • getAboutDialogAction

      public Action getAboutDialogAction()
      Returns the action for displaying the about dialog.
      Returns:
      the action for displaying the about dialog
    • getShowIndividualTracesAction

      public Action getShowIndividualTracesAction()
      Returns the action for showing individual traces in the line plots.
      Returns:
      the action for showing individual traces in the line plots
    • getShowQuantilesAction

      public Action getShowQuantilesAction()
      Returns the action for showing quantiles in the line plots.
      Returns:
      the action for showing quantiles in the line plots
    • getShowApproximationSetAction

      public Action getShowApproximationSetAction(ResultKey key)
      Returns the action to display the approximation set for the given result.
      Parameters:
      key - the result key
      Returns:
      the action to display the approximation set for the given result
    • getSelectAllResultsAction

      public Action getSelectAllResultsAction()
      Returns the action to select all results.
      Returns:
      the action to select all items in the specified table