Package org.opt4j.common.archive
Provides different implementations for the Archive
.
Abstract classes
The AbstractArchive
provides common methods for archives to assure that no Pareto-dominated individual remains in the archive.
It should be used for all implementations of Archive
.
The BoundedArchive
is an abstract class which provides common methods for bound archives, i.e. archives that have a specified maximum size.
Such archives need to decide which non-dominated individuals should be dropped if the maximum size is reached.
Implementations
The UnboundedArchive
stores each found Individual
as long as it is not dominated.
Especially for high dimensional and continuous problems, the number of non-dominated individuals can get very high.
The CrowdingArchive
uses the crowding distance of NSGA2 to decide which Individual
s to drop if the maximum size is reached.
The AdaptiveGridArchive
uses an adaptive grid to decide which Individual
s to drop.
The PopulationArchive
just mirrors the non-dominated Individual
s of the current population.
Compared to the bounded archives above, it should only be used for the development or comparison of optimization algorithms.
The DefaultArchive
defines the implementation to use if no archive is specified using the ArchiveModule
.
The default is the CrowdingArchive
with a maximum size of 100 Individual
s.
Modules
The ArchiveModule
allows to select the implementation for the Archive
.
-
ClassDescriptionThis
AbstractArchive
provides some common methods forArchive
s.TheAdaptiveGridArchive
uses an adaptive grid in order to bound the size of theArchive
.A singleAdaptiveGridArchive.Cell
of the grid.TheArchiveModule
determines an implementation for theArchive
interface.Archive type.AnArchive
with bounded size.AnArchive
of unbounded size.