MOEA Framework 2.12
API Specification

org.moeaframework.algorithm
Class ReferenceVectorGuidedPopulation.ReferenceVectorGuidedPopulationState

java.lang.Object
  extended by org.moeaframework.algorithm.ReferenceVectorGuidedPopulation.ReferenceVectorGuidedPopulationState
All Implemented Interfaces:
Serializable
Enclosing class:
ReferenceVectorGuidedPopulation

protected static class ReferenceVectorGuidedPopulation.ReferenceVectorGuidedPopulationState
extends Object
implements Serializable

Proxy for serializing the state of this population. All data fields provided to or read from this proxy should be cloned.

See Also:
Serialized Form

Constructor Summary
ReferenceVectorGuidedPopulation.ReferenceVectorGuidedPopulationState(List<Solution> population, double[] idealPoint, List<double[]> originalWeights, List<double[]> weights, double[] minAngles, double scalingFactor)
          Creates a new proxy for serializing the state of this population.
 
Method Summary
 double[] getIdealPoint()
          Returns the ideal point.
 double[] getMinAngles()
          Returns the minimum angles between weight vectors.
 List<double[]> getOriginalWeights()
          Returns the original weight vectors.
 List<Solution> getPopulation()
          Returns the population stored in a serializable list.
 double getScalingFactor()
          Returns the scaling factor.
 List<double[]> getWeights()
          Returns the weight vectors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceVectorGuidedPopulation.ReferenceVectorGuidedPopulationState

public ReferenceVectorGuidedPopulation.ReferenceVectorGuidedPopulationState(List<Solution> population,
                                                                            double[] idealPoint,
                                                                            List<double[]> originalWeights,
                                                                            List<double[]> weights,
                                                                            double[] minAngles,
                                                                            double scalingFactor)
Creates a new proxy for serializing the state of this population.

Parameters:
population - the population stored in a serializable list
idealPoint - the ideal point
originalWeights - the original weight vectors
weights - the weight vectors
minAngles - the minimum angles between weight vectors
scalingFactor - the scaling factor
Method Detail

getPopulation

public List<Solution> getPopulation()
Returns the population stored in a serializable list.

Returns:
the population stored in a serializable list

getIdealPoint

public double[] getIdealPoint()
Returns the ideal point.

Returns:
the ideal point

getOriginalWeights

public List<double[]> getOriginalWeights()
Returns the original weight vectors.

Returns:
the original weight vectors

getWeights

public List<double[]> getWeights()
Returns the weight vectors.

Returns:
the weight vectors

getMinAngles

public double[] getMinAngles()
Returns the minimum angles between weight vectors.

Returns:
the minimum angles between weight vectors

getScalingFactor

public double getScalingFactor()
Returns the scaling factor.

Returns:
the scaling factor

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!