
MOEA Framework 2.12 API Specification 

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
java.lang.Object org.moeaframework.problem.RotatedProblem
public class RotatedProblem
Decorator to create rotated instances of test problems. The rotation is
defined by a rotation matrix, which should be orthogonal and have a
determinant of 1. See RotationMatrixBuilder
for a utility to quickly
construct rotation matrices.
Regardless of the rotation, all rotated instances use expanded lower and upper bounds for the decision variables. An additional constraint is added to account for solutions existing in this expanded region, which are not in the original unrotated problem. This expansion is consistent across all rotations, which ensures the volume of the constraintviolating expanded region is constant across all instances of a problem.
Constructor Summary  

RotatedProblem(Problem problem,
org.apache.commons.math3.linear.RealMatrix rotation)
Decorates the specified problem, creating a rotated instance using the specified rotation matrix. 
Method Summary  

void 
close()
Closes any underlying resources used by this problem. 
void 
evaluate(Solution solution)
Evaluates the solution, updating the solution's objectives in place. 
String 
getName()
Returns the userfriendly name for this problem. 
int 
getNumberOfConstraints()
Returns the number of constraints defined by this problem. 
int 
getNumberOfObjectives()
Returns the number of objectives defined by this problem. 
int 
getNumberOfVariables()
Returns the number of decision variables defined by this problem. 
Solution 
newSolution()
Returns a new solution for this problem. 
Methods inherited from class java.lang.Object 

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
Constructor Detail 

public RotatedProblem(Problem problem, org.apache.commons.math3.linear.RealMatrix rotation)
problem
 the original unrotated problemrotation
 the rotation matrixMethod Detail 

public String getName()
Problem
getName
in interface Problem
public int getNumberOfVariables()
Problem
getNumberOfVariables
in interface Problem
public int getNumberOfObjectives()
Problem
getNumberOfObjectives
in interface Problem
public int getNumberOfConstraints()
Problem
getNumberOfConstraints
in interface Problem
public void evaluate(Solution solution)
Problem
evaluate
in interface Problem
solution
 the solution to be evaluatedpublic Solution newSolution()
Problem
newSolution
in interface Problem
public void close()
Problem
close
in interface Problem

MOEA Framework 2.12 API Specification 

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 