public class AdaptiveGridArchive extends Archive
solutionsList_| Constructor and Description |
|---|
AdaptiveGridArchive(int maxSize,
int bisections,
int objectives)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Solution solution)
Adds a
Solution to the archive. |
AdaptiveGrid |
getGrid()
Returns the AdaptativeGrid used
|
best, clear, get, getCapacity, getMaxSize, getSolutionSet, indexBest, indexWorst, iterator, remove, replace, setCapacity, setSolutionSet, size, sort, union, worst, writeObjectivesToMatrixpublic AdaptiveGridArchive(int maxSize,
int bisections,
int objectives)
maxSize - The maximum size of the archivebisections - The maximum number of bi-divisions for the adaptive
grid.objectives - The number of objectives.public boolean add(Solution solution)
Solution to the archive. If the Solution
is dominated by any member of the archive then it is discarded. If the
Solution dominates some members of the archive, these are
removed. If the archive is full and the Solution has to be
inserted, one Solution of the most populated hypercube of the
adaptive grid is removed.add in class SolutionSetsolution - The SolutionSolution has been inserted, false
otherwise.public AdaptiveGrid getGrid()