public class CrowdingArchive extends Archive
solutionsList_| Constructor and Description | 
|---|
CrowdingArchive(int maxSize,
               int numberOfObjectives)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(Solution solution)
Adds a  
Solution to the archive. | 
best, clear, get, getCapacity, getMaxSize, getSolutionSet, indexBest, indexWorst, iterator, remove, replace, setCapacity, setSolutionSet, size, sort, union, worst, writeObjectivesToMatrixpublic CrowdingArchive(int maxSize,
                       int numberOfObjectives)
maxSize - The maximum size of the archive.numberOfObjectives - The number of objectives.public boolean add(Solution solution)
Solution to the archive. If the Solution
 is dominated by any member of the archive, then it is discarded. If the
 Solution dominates some members of the archive, these are
 removed. If the archive is full and the Solution has to be
 inserted, the solutions are sorted by crowding distance and the one having
 the minimum crowding distance value.add in class SolutionSetsolution - The SolutionSolution has been inserted, false
 otherwise.