S - public abstract class AbstractBoundedArchive<S extends Solution<?>> extends Object implements BoundedArchive<S>
| Modifier and Type | Field and Description |
|---|---|
protected NonDominatedSolutionListArchive<S> |
archive |
protected int |
maxSize |
| Constructor and Description |
|---|
AbstractBoundedArchive(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(S solution) |
S |
get(int index) |
int |
getMaxSize() |
List<S> |
getSolutionList() |
abstract void |
prune() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeDensityEstimator, getComparator, sortByDensityEstimatorprotected NonDominatedSolutionListArchive<S extends Solution<?>> archive
protected int maxSize
public List<S> getSolutionList()
getSolutionList in interface Archive<S extends Solution<?>>public int getMaxSize()
getMaxSize in interface BoundedArchive<S extends Solution<?>>public abstract void prune()
Copyright © 2017. All rights reserved.