public class AbsoluteErrorPenalty extends MultiplierPenalty
Function.EvaluationExceptionconstraints, weights| Constructor and Description |
|---|
AbsoluteErrorPenalty(EqualityConstraints constraints)
Construct an absolute error penalty function from a collection of equality constraints.
|
AbsoluteErrorPenalty(EqualityConstraints constraints,
double weight)
Construct an absolute error penalty function from a collection of equality constraints.
|
AbsoluteErrorPenalty(EqualityConstraints constraints,
double[] weights)
Construct an absolute error penalty function from a collection of equality constraints.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(Vector x)
Evaluate the function f at x, where x is from the domain.
|
dimensionOfDomaindimensionOfRangepublic AbsoluteErrorPenalty(EqualityConstraints constraints, double[] weights)
constraints - a collection of equality constraintsweights - the weights assigned to the constraintspublic AbsoluteErrorPenalty(EqualityConstraints constraints, double weight)
constraints - a collection of equality constraintsweight - the same weight assigned to all constraintspublic AbsoluteErrorPenalty(EqualityConstraints constraints)
constraints - a collection of equality constraintsCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.