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.
-
ClassDescriptionA widget that monitors the archive.The
ControlButtonscontainsJButtons for the controls:TheControlToolBarServiceis aToolBarServicethat allows toControltheOptimizer.This service has anToolBarOrderwith-100.TheConvergencePlotWidgetplots the convergence for eachObjective.TheDelayTaskexecutes tasks immediately or delayed if they arrive too close (delay).Listener for mouse events onIndividuals.TheObjectivesMonitorinforms its listeners about theObjectives of the optimization problem as soon as it is available.TheObjectivesMonitor.ObjectivesListeneris an interface for classes that need the objectives.A widget that monitors thePopulation.TheStatusBarcontains informations about the optimization progress and time per iteration.TheToolBaris a collection of theToolBarServices.TheToolBarOrderAnnotation is used forToolBarServiceordering.TheToolBarServiceis an interface for arbitrary components that are added to the tool bar in the viewer.TheViewer.TheViewer.CloseEventthat is triggered if this viewer is closed.TheViewerModuleconfigures the optimization process viewer.TheVisualizationModule.TheWidgetParameters.