|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.core.IndividualSet
org.opt4j.core.optimizer.Archive
org.opt4j.core.common.archive.AbstractArchive
org.opt4j.core.common.archive.PopulationArchive
public class PopulationArchive
The 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.
| Field Summary |
|---|
| Fields inherited from class org.opt4j.core.IndividualSet |
|---|
individuals, listeners |
| Constructor Summary | |
|---|---|
PopulationArchive()
|
|
| Method Summary | |
|---|---|
boolean |
update(java.util.Set<? extends Individual> individuals)
Updates the archive with a set of individuals. |
protected boolean |
updateWithNondominated(java.util.Collection<Individual> candidates)
Adds new candidates which are already checked to be not
Pareto-dominated by any other individual in this Archive. |
| Methods inherited from class org.opt4j.core.optimizer.Archive |
|---|
addCheckedIndividual, addCheckedIndividuals, update |
| Methods inherited from class org.opt4j.core.IndividualSet |
|---|
add, addAll, addAll, addListener, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeListener, retainAll, size, toArray, toArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public PopulationArchive()
| Method Detail |
|---|
public boolean update(java.util.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 archive
true if the content of the archive changedprotected boolean updateWithNondominated(java.util.Collection<Individual> candidates)
AbstractArchivecandidates which are already checked to be not
Pareto-dominated by any other individual in this Archive. All
Individuals in the Archive which were dominated by the
candidates have already been removed.
updateWithNondominated in class AbstractArchivecandidates - the non-dominated individuals which can be added
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||