Package org.opt4j.viewer
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.
-
Interface Summary Interface Description IndividualMouseListener Listener for mouse events onIndividuals.ObjectivesMonitor.ObjectivesListener TheObjectivesMonitor.ObjectivesListeneris an interface for classes that need the objectives.ToolBarService TheToolBarServiceis an interface for arbitrary components that are added to the tool bar in the viewer.Widget -
Class Summary Class Description ArchiveWidget A widget that monitors the archive.AutoZoomButton ControlButtons TheControlButtonscontainsJButtons for the controls:ControlToolBarService TheControlToolBarServiceis aToolBarServicethat allows toControltheOptimizer.This service has anToolBarOrderwith-100.ConvergencePlotWidget TheConvergencePlotWidgetplots the convergence for eachObjective.DelayTask TheDelayTaskexecutes tasks immediately or delayed if they arrive too close (delay).ObjectivesMonitor TheObjectivesMonitorinforms its listeners about theObjectives of the optimization problem as soon as it is available.ParetoPlotWidget PopulationWidget A widget that monitors thePopulation.Progress StatusBar TheStatusBarcontains informations about the optimization progress and time per iteration.ToolBar TheToolBaris a collection of theToolBarServices.Viewer TheViewer.ViewerModule TheViewerModuleconfigures the optimization process viewer.Viewport ViewsToolBarService VisualizationModule TheVisualizationModule. -
Enum Summary Enum Description Viewer.CloseEvent TheViewer.CloseEventthat is triggered if this viewer is closed. -
Annotation Types Summary Annotation Type Description ToolBarOrder TheToolBarOrderAnnotation is used forToolBarServiceordering.WidgetParameters TheWidgetParameters.