|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InequalityConstrainedProblem
Methods to add and remove inequality constraints. By convention, these are
assumed to be of the form g(x) <= 0.
| Method Summary | |
|---|---|
boolean |
addInequalityConstraint(ScalarFunction con)
Adds the given ScalarFunction as an inequality constraint. |
int |
getConstraintCount()
Returns the number of constraints that this problem has. |
java.util.ArrayList<ScalarFunction> |
getConstraints()
Returns the list of constraints as an ArrayList. |
boolean |
removeInequalityConstraint(ScalarFunction con)
Removes the given ScalarFunction from the list of constraints. |
| Methods inherited from interface problem.BoundConstrainedProblem |
|---|
getConstraintViolations, setBounds |
| Methods inherited from interface problem.OptimizationProblem |
|---|
getBounds, getInputDimension, getObjective, getOutputDimension, init, makeDataBlock, makeDataPoint, setObjective |
| Method Detail |
|---|
boolean addInequalityConstraint(ScalarFunction con)
ScalarFunction as an inequality constraint.
con - the given ScalarFunction.
trueArrayList.add(Object)int getConstraintCount()
java.util.ArrayList<ScalarFunction> getConstraints()
boolean removeInequalityConstraint(ScalarFunction con)
ScalarFunction from the list of constraints.
con - the given ScalarFunction.
true if the given constraint was found in the list of
constraints.ArrayList.remove(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||