Class ActionFactory
java.lang.Object
org.moeaframework.analysis.diagnostics.ActionFactory
Collection of actions used by the diagnostic tool.
-
Constructor Summary
ConstructorDescriptionActionFactory
(DiagnosticTool frame, Controller controller) Constructs a new action factory. -
Method Summary
Modifier and TypeMethodDescriptionReturns the action for displaying the about dialog.Returns the action for canceling a running evaluation task.Returns the action for clearing all results.Returns the action to toggle off all indocator collectors.Returns the action to toggle on all indocator collectors.Returns the action to close the diagnostic tool.Returns the action to toggle the inclusion of the adaptive multimethod variation collector.Returns the action to toggle the inclusion of the adaptive time continuation collector.Returns the action to toggle the inclusion of the additive ε-indicator collector.Returns the action to toggle the inclusion of the approximation set collector.Returns the action to toggle the inclusion of the contribution indicator collector.Returns the action to toggle the inclusion of the elapsed time collector.Returns the action to toggle the inclusion of ε-progress restart collector.Returns the action to toggle the inclusion of the generational distance indicator collector.Returns the action to toggle the inclusion of the generational distance plus indicator collector.Returns the action to toggle the inclusion of the hypervolume indicator collector.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 plus indicator collector.Returns the action to toggle the inclusion of the population size collector.Returns the action to toggle the inclusion of the R1 indicator collector.Returns the action to toggle the inclusion of the R2 indicator collector.Returns the action to toggle the inclusion of the R3 indicator collector.Returns the action to toggle the inclusion the spacing indicator collector.Returns the action to load results from a file.Returns the action for displaying memory usage.Returns the action for starting the evaluation task.Returns the action to save the results to a file.Returns the action to select all results.Returns the action to display the approximation set for the given result.Returns the action for showing individual traces in the line plots.Returns the action to show the last run's trace.Returns the action for showing quantiles in the line plots.Returns the action for showing a statistical comparison of the results.protected void
Initializes the actions used by this action factory.
-
Constructor Details
-
ActionFactory
Constructs a new action factory.- Parameters:
frame
- theDiagnosticTool
instance on which these actions operatecontroller
- theController
instance on which these actions operate
-
-
Method Details
-
initialize
protected void initialize()Initializes the actions used by this action factory. -
getSaveAction
Returns the action to save the results to a file.- Returns:
- the action to save the results to a file
-
getLoadAction
Returns the action to load results from a file.- Returns:
- the action to load results from a file
-
getExitAction
Returns the action to close the diagnostic tool.- Returns:
- the action to close the diagnostic tool
-
getShowLastTraceAction
Returns the action to show the last run's trace.- Returns:
- the action to show the last run's trace
-
getEnableAllIndicatorsAction
Returns the action to toggle on all indocator collectors.- Returns:
- the action to toggle on all indocator collectors
-
getDisableAllIndicatorsAction
Returns the action to toggle off all indocator collectors.- Returns:
- the action to toggle off all indocator collectors
-
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
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
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
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
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
Returns the action to toggle the inclusion the spacing indicator collector.- Returns:
- the action to toggle the inclusion the spacing indicator collector
-
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
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
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
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
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
Returns the action to toggle the inclusion of ε-progress restart collector.- Returns:
- the action to toggle the inclusion of ε-progress restart collector
-
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
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
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
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
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
Returns the action for displaying memory usage.- Returns:
- the action for displaying memory usage
-
getRunAction
Returns the action for starting the evaluation task.- Returns:
- the action for starting the evaluation task
-
getCancelAction
Returns the action for canceling a running evaluation task.- Returns:
- the action for canceling a running evaluation task
-
getClearAction
Returns the action for clearing all results.- Returns:
- the action for clearing all results
-
getShowStatisticsAction
Returns the action for showing a statistical comparison of the results.- Returns:
- the action for showing a statistical comparison of the results
-
getAboutDialogAction
Returns the action for displaying the about dialog.- Returns:
- the action for displaying the about dialog
-
getShowIndividualTracesAction
Returns the action for showing individual traces in the line plots.- Returns:
- the action for showing individual traces in the line plots
-
getShowQuantilesAction
Returns the action for showing quantiles in the line plots.- Returns:
- the action for showing quantiles in the line plots
-
getShowApproximationSetAction
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
Returns the action to select all results.- Returns:
- the action to select all items in the specified table
-