Package org.uma.jmetal.util.archive.impl
Class NonDominatedSolutionListArchive<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.util.archive.impl.NonDominatedSolutionListArchive<S>
- All Implemented Interfaces:
Serializable,Archive<S>
public class NonDominatedSolutionListArchive<S extends Solution<?>>
extends Object
implements Archive<S>
This class implements an archive containing non-dominated solutions
- Author:
- Antonio J. Nebro, Juan J. Durillo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorNonDominatedSolutionListArchive(Comparator<S> comparator) Constructor -
Method Summary
-
Constructor Details
-
NonDominatedSolutionListArchive
public NonDominatedSolutionListArchive()Constructor -
NonDominatedSolutionListArchive
Constructor
-
-
Method Details
-
add
Inserts a solution in the list- Specified by:
addin interfaceArchive<S extends Solution<?>>- Parameters:
solution- The solution to be inserted.- Returns:
- true if the operation success, and false if the solution is dominated or if an identical individual exists. The decision variables can be null if the solution is read from a file; in that case, the domination tests are omitted
-
join
-
addAll
-
solutions
-
size
-
get
-