|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.optimization.constrained.constraint.ConstraintsUtils
public class ConstraintsUtils
These are the utility functions for manipulating Constraints.
| Constructor Summary | |
|---|---|
ConstraintsUtils()
|
|
| Method Summary | |
|---|---|
static Vector |
evaluate(Constraints constraints,
Vector x)
Evaluate the constraints. |
static boolean |
isSatisfied(Constraints constraints,
Vector x)
Check if the constraints are satisfied. |
static boolean |
isSatisfied(Constraints constraints,
Vector x,
double epsilon)
Check if the constraints are satisfied. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstraintsUtils()
| Method Detail |
|---|
public static boolean isSatisfied(Constraints constraints,
Vector x,
double epsilon)
constraints - the constraintsx - the value to evaluate the constraints atepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0
true if the constraints are satisfied
public static boolean isSatisfied(Constraints constraints,
Vector x)
constraints - the constraintsx - the value to evaluate the constraints at
true if the constraints are satisfied
public static Vector evaluate(Constraints constraints,
Vector x)
constraints - the constraintsx - the value to evaluate the constraints at
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||