public class CrowdingArchive extends BoundedArchive
CrowdingArchive is based on the Crowding distance.Crowdingcapacityindividuals, listeners| Constructor and Description |
|---|
CrowdingArchive(int capacity)
Constructs a
CrowdingArchive. |
| Modifier and Type | Method and Description |
|---|---|
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. |
addCheckedIndividual, addCheckedIndividuals, getCapacity, setCapacityupdateadd, addAll, addAll, addListener, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeListener, retainAll, size, toArray, toArray@Inject public CrowdingArchive(int capacity)
CrowdingArchive.capacity - capacity of this archive (using namespace
BoundedArchive)protected 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