|
MOEA Framework 2.12 API Specification |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.moeaframework.util.weights.UniformDesignGenerator
public class UniformDesignGenerator
Generates weights according to a uniform design of mixtures using the
Hammersley low-discrepancy sequence generator. Uniform design has several
advantages over NormalBoundaryIntersectionGenerator
, including
avoiding generating many weights on the boundary and avoiding the
combinatorial growth of weights as the number of objectives increases.
Tan et al. first proposed the use of uniform design to generate weights for
an MOEA, but their method becomes computationally prohibitive as the number
of objectives or number of points increases. The use of the more efficient
Hammersley method was proposed by Berenguer and Coello Coello (2015).
References:
Constructor Summary | |
---|---|
UniformDesignGenerator(int numberOfObjectives,
int numberOfPoints)
Constructs a new weight generator based on uniform design. |
Method Summary | |
---|---|
List<double[]> |
generate()
Returns the generated weights. |
protected int[] |
generateFirstKPrimes(int k)
Returns the first k prime numbers. |
int |
size()
Returns the number of weights that will be generated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniformDesignGenerator(int numberOfObjectives, int numberOfPoints)
numberOfObjectives
- the number of objectivesnumberOfPoints
- the number of weights to generateMethod Detail |
---|
public int size()
WeightGenerator
size
in interface WeightGenerator
protected int[] generateFirstKPrimes(int k)
k
- the number of prime numbers to return
public List<double[]> generate()
WeightGenerator
generate
in interface WeightGenerator
|
MOEA Framework 2.12 API Specification |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |