|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jmetal.core.SolutionSet jmetal.util.archive.Archive jmetal.util.archive.SPEA2DensityArchive
public class SPEA2DensityArchive
This class implemens a bounded archive based on strength raw fitness (as defined in SPEA2).
Field Summary |
---|
Fields inherited from class jmetal.core.SolutionSet |
---|
solutionsList_ |
Constructor Summary | |
---|---|
SPEA2DensityArchive(int maxSize)
Constructor. |
Method Summary | |
---|---|
boolean |
add(Solution solution)
Adds a Solution to the archive. |
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 SPEA2DensityArchive(int maxSize)
maxSize
- The maximum size of the archive.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, all the solutions are ordered by his strengthRawFitness value and
the one having the worst value is removed.
add
in class SolutionSet
solution
- The Solution
Solution
has been inserted, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |