Package org.opt4j.viewer

Provides the classes for the optimization visualization, i.e., the Viewer.

See:
          Description

Interface Summary
IndividualMouseListener Listener for mouse events on Individuals.
ObjectivesMonitor.ObjectivesListener The ObjectivesMonitor.ObjectivesListener is an interface for classes that need the objectives.
ToolBarService The ToolBarService is an interface for arbitrary components that are added to the tool bar in the viewer.
Widget The Widget is an interface for standard panel for the Viewport.
 

Class Summary
ArchiveWidget A widget that monitors the archive.
AutoZoomButton The AutoZoomButton is a specialized JButton which reactivates the auto zoom feature of a PlotBox.
ControlButtons The ControlButtons contains JButtons for the controls:
ControlToolBarService The ControlToolBarService is a ToolBarService that allows to Control the Optimizer.This service has an ToolBarOrder with -100.
ConvergencePlotWidget The ConvergencePlotWidget plots the convergence for each Objective.
ObjectivesMonitor The ObjectivesMonitor informs its listeners about the Objectives of the optimization problem as soon as it is available.
ParetoPlotWidget The ParetoPlotWidget is a widget that displays the Population and Archive in two dimensional plot.
PopulationWidget A widget that monitors the Population.
StatusBar The StatusBar contains informations about the optimization progress and time per iteration.
ToolBar The ToolBar is a collection of the ToolBarServices.
Viewer The Viewer.
ViewerModule The ViewerModule configures the optimization process viewer.
Viewport The Viewport is a desktop for Widgets.
ViewsToolBarService The ViewsToolBarService can open a ArchiveWidget, PopulationWidget, or ParetoPlotWidget.
VisualizationModule The VisualizationModule.
 

Enum Summary
Viewer.CloseEvent The Viewer.CloseEvent that is triggered if this viewer is closed.
 

Annotation Types Summary
ToolBarOrder The ToolBarOrder Annotation is used for ToolBarService ordering.
WidgetParameters The WidgetParameters.
 

Package org.opt4j.viewer Description

Provides the classes for the optimization visualization, i.e., the Viewer.

The Viewer is a JFrame consisting of the following elements:

The Viewport is a desktop for Widget elements. A widget is similar to a JInternalFrame, several properties are defined in the WidgetParameters. Widgets are added directly to the viewport.

Additional buttons are added to the ToolBar using the ToolBarService. Each ToolBarService is added in the VisualizationModule.

One predefined specific widget is the ArchiveWidget. This widget shows all Individuals which are currently in the Archive. By default, these are the best Individuals found so far during the optimization process. In practice a user might want to visualize one of these Individuals or their phenotype, respectively. The IndividualMouseListener is used to listen to the double-clicking of an Individual in the Archive as well as a popup handling which is usually invoked by a right-click. An IndividualMouseListener is added in the VisualizationModule.