MOEA Framework 2.12
API Specification

org.moeaframework.analysis.diagnostics
Class ActionFactory

java.lang.Object
  extended by org.moeaframework.analysis.diagnostics.ActionFactory
All Implemented Interfaces:
EventListener, ControllerListener

public class ActionFactory
extends Object
implements ControllerListener

Collection of actions used by the diagnostic tool.


Constructor Summary
ActionFactory(DiagnosticTool frame, Controller controller)
          Constructs a new action factory.
 
Method Summary
 void controllerStateChanged(ControllerEvent event)
          Invoked by the controller to indicate its state changed.
 Action getAboutDialogAction()
          Returns the action for displaying the about dialog.
 Action getCancelAction()
          Returns the action for canceling a running evaluation task.
 Action getClearAction()
          Returns the action for clearing all results.
 Action getDisableAllIndicatorsAction()
          Returns the action to toggle off all indocator collectors.
 Action getEnableAllIndicatorsAction()
          Returns the action to toggle on all indocator collectors.
 Action getExitAction()
          Returns the action to close the diagnostic tool.
 Action getIncludeAdaptiveMultimethodVariationAction()
          Returns the action to toggle the inclusion of the adaptive multimethod variation collector.
 Action getIncludeAdaptiveTimeContinuationAction()
          Returns the action to toggle the inclusion of the adaptive time continuation collector.
 Action getIncludeAdditiveEpsilonIndicatorAction()
          Returns the action to toggle the inclusion of the additive ε-indicator collector.
 Action getIncludeApproximationSetAction()
          Returns the action to toggle the inclusion of the approximation set collector.
 Action getIncludeContributionAction()
          Returns the action to toggle the inclusion of the contribution indicator collector.
 Action getIncludeElapsedTimeAction()
          Returns the action to toggle the inclusion of the elapsed time collector.
 Action getIncludeEpsilonProgressAction()
          Returns the action to toggle the inclusion of ε-progress restart collector.
 Action getIncludeGenerationalDistanceAction()
          Returns the action to toggle the inclusion of the generational distance indicator collector.
 Action getIncludeHypervolumeAction()
          Returns the action to toggle the inclusion of the hypervolume indicator collector.
 Action getIncludeInvertedGenerationalDistanceAction()
          Returns the action to toggle the inclusion of the inverted generational distance indicator collector.
 Action getIncludePopulationSizeAction()
          Returns the action to toggle the inclusion of the population size collector.
 Action getIncludeR1Action()
          Returns the action to toggle the inclusion of the R1 indicator collector.
 Action getIncludeR2Action()
          Returns the action to toggle the inclusion of the R2 indicator collector.
 Action getIncludeR3Action()
          Returns the action to toggle the inclusion of the R3 indicator collector.
 Action getIncludeSpacingAction()
          Returns the action to toggle the inclusion the spacing indicator collector.
 Action getLoadAction()
          Returns the action to load results from a file.
 Action getMemoryUsageAction()
          Returns the action for displaying memory usage.
 Action getRunAction()
          Returns the action for starting the evaluation task.
 Action getSaveAction()
          Returns the action to save the results to a file.
 Action getSelectAllAction(JTable table)
          Returns the action to select all items in the specified table.
 Action getShowApproximationSetAction(ResultKey key)
          Returns the action to display the approximation set for the given result.
 Action getShowIndividualTracesAction()
          Returns the action for showing individual traces in the line plots.
 Action getShowLastTraceAction()
          Returns the action to show the last run's trace.
 Action getShowQuantilesAction()
          Returns the action for showing quantiles in the line plots.
 Action getShowStatisticsAction()
          Returns the action for showing a statistical comparison of the results.
protected  void initialize()
          Initializes the actions used by this action factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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

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

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

getSelectAllAction

public Action getSelectAllAction(JTable table)
Returns the action to select all items in the specified table.

Parameters:
table - the table on which this action operates
Returns:
the action to select all items in the specified table

controllerStateChanged

public void controllerStateChanged(ControllerEvent event)
Description copied from interface: ControllerListener
Invoked by the controller to indicate its state changed. The ControllerEvent indicates the type of event which has occurred.

Specified by:
controllerStateChanged in interface ControllerListener
Parameters:
event - details of the controller event

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!