public abstract class AbstractBoundedArchive<S extends Solution> extends Object implements BoundedArchive<S>
| Modifier and Type | Field and Description |
|---|---|
protected NonDominatedSolutionListArchive |
list |
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() |
protected NonDominatedSolutionListArchive list
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 © 2015. All rights reserved.