public class PopulationArchive extends AbstractArchive
PopulationArchive keeps the non-dominated Individuals
from the Population. It is assumed that the update(Set)
method is called with the current Population in each iteration.| Constructor and Description |
|---|
PopulationArchive() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
update(Set<? extends Individual> individuals)
Updates the archive with a set of individuals.
|
addListener, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeListener, retainAll, size, toArray, toArrayequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic boolean update(Set<? extends Individual> individuals)
Archiveadd
/addAll methods, which are prohibited for the archive (throwing
an UnsupportedOperationException), this method shall be used.update in class AbstractArchiveindividuals - the set of individuals that is used to update the archivetrue if the content of the archive changed