|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproblem.BasicOptimizationProblem
problem.BasicBoundConstrainedProblem
problem.BasicMultiObjectiveProblem
public class BasicMultiObjectiveProblem
Base class for multiobjective problems.
| Field Summary |
|---|
| Fields inherited from class problem.BasicBoundConstrainedProblem |
|---|
constraintViolations, tmpArr |
| Fields inherited from class problem.BasicOptimizationProblem |
|---|
formatter |
| Constructor Summary | |
|---|---|
BasicMultiObjectiveProblem()
|
|
| Method Summary | |
|---|---|
double[] |
getConstraintViolations(double[] x)
Returns the bound-constraint violations for a given input. |
ScalarFunction |
getObjective()
NOTE! Returns null! In contrast, @see
problem.BasicOptimizationProblem#getObjective() |
int |
getObjectiveCount()
Returns the number of objectives. |
int |
getOutputDimension()
Returns the number of outputs = number of constraints + 1. |
VectorFunction |
getVectorFunction()
Returns the vector function for computing multiple objectives.. |
void |
init()
Initialization routine. |
DataPoint |
makeDataPoint(double[] x)
Constructs and returns a DataPoint corresponding to a given input,
containing the associated objective values and constraint violations. |
protected cern.colt.matrix.DoubleMatrix2D |
makeOutputs(cern.colt.matrix.DoubleMatrix2D X)
|
void |
setObjective(ScalarFunction obj)
Sets the objective for this problem.. |
void |
setVectorFunction(VectorFunction vectorFunction)
Sets the vector function for computing multiple objectives.. |
| Methods inherited from class problem.BasicBoundConstrainedProblem |
|---|
addConstraintViolations, computeConstraintViolations, getBounds, setBounds |
| Methods inherited from class problem.BasicOptimizationProblem |
|---|
getInputDimension, makeDataBlock, setInputDimension, setOutputDimension, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface problem.BoundConstrainedProblem |
|---|
setBounds |
| Methods inherited from interface problem.OptimizationProblem |
|---|
getBounds, getInputDimension, makeDataBlock |
| Constructor Detail |
|---|
public BasicMultiObjectiveProblem()
| Method Detail |
|---|
public VectorFunction getVectorFunction()
getVectorFunction in interface MultiObjectiveProblempublic void setVectorFunction(VectorFunction vectorFunction)
setVectorFunction in interface MultiObjectiveProblemvectorFunction - the given vectorfFunction.public int getObjectiveCount()
MultiObjectiveProblem
getObjectiveCount in interface MultiObjectiveProblempublic ScalarFunction getObjective()
null! In contrast, @see
problem.BasicOptimizationProblem#getObjective()
getObjective in interface OptimizationProblemgetObjective in class BasicOptimizationProblempublic int getOutputDimension()
OptimizationProblem
getOutputDimension in interface OptimizationProblemgetOutputDimension in class BasicOptimizationProblempublic DataPoint makeDataPoint(double[] x)
OptimizationProblemDataPoint corresponding to a given input,
containing the associated objective values and constraint violations.
makeDataPoint in interface OptimizationProblemmakeDataPoint in class BasicBoundConstrainedProblemx - the given input.
DataPoint corresponding to this input.public double[] getConstraintViolations(double[] x)
BoundConstrainedProblem
getConstraintViolations in interface BoundConstrainedProblemgetConstraintViolations in class BasicBoundConstrainedProblemx - the given input.
public void init()
OptimizationProblem
init in interface OptimizationProbleminit in class BasicBoundConstrainedProblempublic void setObjective(ScalarFunction obj)
OptimizationProblem
setObjective in interface OptimizationProblemsetObjective in class BasicOptimizationProblemobj - the given objective.protected cern.colt.matrix.DoubleMatrix2D makeOutputs(cern.colt.matrix.DoubleMatrix2D X)
makeOutputs in class BasicBoundConstrainedProblem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||