jmetal.qualityIndicator.fastHypervolume
Class FastHypervolumeArchive

java.lang.Object
  extended by jmetal.core.SolutionSet
      extended by jmetal.util.archive.Archive
          extended by jmetal.qualityIndicator.fastHypervolume.FastHypervolumeArchive
All Implemented Interfaces:
java.io.Serializable

public class FastHypervolumeArchive
extends Archive

This class implements a bounded archive based on the hypervolume quality indicator

See Also:
Serialized Form

Field Summary
 Solution referencePoint_
           
 
Fields inherited from class jmetal.core.SolutionSet
solutionsList_
 
Constructor Summary
FastHypervolumeArchive(int maxSize, int numberOfObjectives)
          Constructor.
 
Method Summary
 boolean add(Solution solution)
          Adds a Solution to the archive.
 void computeHVContribution()
          This method forces to compute the contribution of each solution (required for PAEShv)
 
Methods inherited from class jmetal.core.SolutionSet
add, best, clear, get, getCapacity, getMaxSize, indexWorst, iterator, printFeasibleFUN, printFeasibleVAR, printObjectives, printObjectivesToFile, printVariablesToFile, remove, replace, setCapacity, size, sort, union, worst, writeObjectivesToMatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

referencePoint_

public Solution referencePoint_
Constructor Detail

FastHypervolumeArchive

public FastHypervolumeArchive(int maxSize,
                              int numberOfObjectives)
Constructor.

Parameters:
maxSize - The maximum size of the archive.
numberOfObjectives - The number of objectives.
Method Detail

add

public boolean add(Solution solution)
Adds a 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 solution contributing the least to the HV of the solution set is discarded.

Overrides:
add in class SolutionSet
Parameters:
solution - The Solution
Returns:
true if the Solution has been inserted, false otherwise.

computeHVContribution

public void computeHVContribution()
This method forces to compute the contribution of each solution (required for PAEShv)