Package org.uma.jmetal.util.archive.impl
Class AbstractBoundedArchive<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.util.archive.impl.AbstractBoundedArchive<S>
- Type Parameters:
S-
- All Implemented Interfaces:
Serializable,Archive<S>,BoundedArchive<S>
- Direct Known Subclasses:
ArchiveWithReferencePoint,CrowdingDistanceArchive,GenericBoundedArchive,HypervolumeArchive,KNNDistanceArchive,SpatialSpreadDeviationArchive
public abstract class AbstractBoundedArchive<S extends Solution<?>>
extends Object
implements BoundedArchive<S>
- Author:
- Antonio J. Nebro
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBoundedArchive(int maxSize) protectedAbstractBoundedArchive(int maxSize, DominanceComparator<S> dominanceComparator) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.uma.jmetal.util.archive.BoundedArchive
comparator, computeDensityEstimator
-
Field Details
-
archive
-
maxSize
protected int maxSize
-
-
Constructor Details
-
AbstractBoundedArchive
-
AbstractBoundedArchive
protected AbstractBoundedArchive(int maxSize)
-
-
Method Details
-
add
-
get
-
solutions
-
size
-
maximumSize
public int maximumSize()- Specified by:
maximumSizein interfaceBoundedArchive<S extends Solution<?>>
-
prune
public abstract void prune() -
join
-