|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.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 constraint-violating 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 user-friendly 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 matrix| Method Detail |
|---|
public String getName()
Problem
getName in interface Problempublic int getNumberOfVariables()
Problem
getNumberOfVariables in interface Problempublic int getNumberOfObjectives()
Problem
getNumberOfObjectives in interface Problempublic int getNumberOfConstraints()
Problem
getNumberOfConstraints in interface Problempublic void evaluate(Solution solution)
Problem
evaluate in interface Problemsolution - the solution to be evaluatedpublic Solution newSolution()
Problem
newSolution in interface Problempublic void close()
Problem
close in interface Problem
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||