Package org.moeaframework.util.weights
Interface WeightGenerator
- All Known Implementing Classes:
NormalBoundaryIntersectionGenerator
,RandomGenerator
,UniformDesignGenerator
public interface WeightGenerator
Interface for generating a sequence of weights. The nature of the weights depends on the specific implementation.
The only requirement is that the sum of each component in a weight vector be
1
.-
Method Summary
-
Method Details
-
size
int size()Returns the number of weights that will be generated.- Returns:
- the number of weights that will be generated
-
generate
List<double[]> generate()Returns the generated weights.- Returns:
- the generated weights
-