|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmetal.core.SolutionSet
jmetal.util.archive.Archive
jmetal.util.archive.AdaptiveGridArchive
public class AdaptiveGridArchive
This class implements an archive based on an adaptive grid used in PAES
| Field Summary |
|---|
| Fields inherited from class jmetal.core.SolutionSet |
|---|
solutionsList_ |
| Constructor Summary | |
|---|---|
AdaptiveGridArchive(int maxSize,
int bisections,
int objectives)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
add(Solution solution)
Adds a Solution to the archive. |
AdaptiveGrid |
getGrid()
Returns the AdaptativeGrid used |
| Methods inherited from class jmetal.core.SolutionSet |
|---|
add, best, clear, get, getCapacity, getMaxSize, indexWorst, iterator, printFeasibleFUN, printFeasibleVAR, printObjectives, printObjectivesToFile, printVariablesToFile, remove, replace, setCapacity, size, sort, union, worst, writeObjectivesToMatrix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
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 Solution
Solution has been inserted, false
otherwise.public AdaptiveGrid getGrid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||