MOEA Framework 2.12
API Specification

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
 List<double[]> generate()
          Returns the generated weights.
 int size()
          Returns the number of weights that will be generated.
 

Method Detail

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 genreated weights

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!