S - public abstract class ArchiveWithReferencePoint<S extends Solution<?>> extends AbstractBoundedArchive<S>
| Modifier and Type | Field and Description |
|---|---|
protected Comparator<S> |
comparator |
protected List<Double> |
referencePoint |
protected S |
referencePointSolution |
archive, maxSize| Constructor and Description |
|---|
ArchiveWithReferencePoint(int maxSize,
List<Double> referencePoint,
Comparator<S> comparator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(S solution) |
void |
changeReferencePoint(List<Double> newReferencePoint) |
void |
prune() |
get, getMaxSize, getSolutionList, join, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeDensityEstimator, getComparator, sortByDensityEstimatorprotected Comparator<S extends Solution<?>> comparator
public ArchiveWithReferencePoint(int maxSize,
List<Double> referencePoint,
Comparator<S> comparator)
public boolean add(S solution)
public void prune()
prune in class AbstractBoundedArchive<S extends Solution<?>>Copyright © 2019. All rights reserved.