public class NonDominatedSolutionListArchive<S extends Solution<?>> extends Object implements Archive<S>
| Constructor and Description |
|---|
NonDominatedSolutionListArchive()
Constructor
|
NonDominatedSolutionListArchive(DominanceComparator<S> comparator)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(S solution)
Inserts a solution in the list
|
S |
get(int index) |
List<S> |
getSolutionList() |
int |
size() |
public NonDominatedSolutionListArchive()
public NonDominatedSolutionListArchive(DominanceComparator<S> comparator)
public boolean add(S solution)
add in interface Archive<S extends Solution<?>>solution - The solution to be inserted.public List<S> getSolutionList()
getSolutionList in interface Archive<S extends Solution<?>>Copyright © 2015. All rights reserved.