|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptimizationProblem
Top-level interface for optimization problems.
| Method Summary | |
|---|---|
Hypercube |
getBounds()
Returns the bounds for this problem. |
int |
getInputDimension()
Returns the dimensionality of the inputs to this problem. |
ScalarFunction |
getObjective()
Returns the objective for this problem, which is a ScalarFunction. |
int |
getOutputDimension()
Returns the number of outputs = number of constraints + 1. |
void |
init()
Initialization routine. |
DataBlock |
makeDataBlock(cern.colt.matrix.DoubleMatrix2D X)
Constructs and returns a DataBlock corresponding to the given set
of inputs, specified row-wise in a DoubleMatrix2D. |
DataPoint |
makeDataPoint(double[] x)
Constructs and returns a DataPoint corresponding to a given input,
containing the associated objective values and constraint violations. |
void |
setObjective(ScalarFunction obj)
Sets the objective for this problem.. |
| Method Detail |
|---|
Hypercube getBounds()
int getInputDimension()
ScalarFunction getObjective()
ScalarFunction.
int getOutputDimension()
void init()
DataBlock makeDataBlock(cern.colt.matrix.DoubleMatrix2D X)
DataBlock corresponding to the given set
of inputs, specified row-wise in a DoubleMatrix2D.
X - the given matrix of inputs.
DataPoint makeDataPoint(double[] x)
DataPoint corresponding to a given input,
containing the associated objective values and constraint violations.
x - the given input.
DataPoint corresponding to this input.void setObjective(ScalarFunction obj)
obj - the given objective.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||