|
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.general.penaltymethod.PenaltyFunction
public abstract class PenaltyFunction
A function P: Rn -> R is a penalty function for a constrained optimization problem if it has these properties.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function |
|---|
Function.EvaluationException |
| Field Summary | |
|---|---|
int |
dimensionality
dimensionality of the problem to be solved This is the number of free variables. |
| Constructor Summary | |
|---|---|
PenaltyFunction(int dimensionality)
Construct a PenaltyFunction. |
|
| Method Summary | |
|---|---|
int |
dimension4Domain()
Get the number of variables of the function. |
int |
dimension4Range()
Get the dimension of the range space the function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.numericalmethod.suanshu.analysis.function.rn2r1.RealScalarFunction |
|---|
evaluate |
| Field Detail |
|---|
public final int dimensionality
This is the number of free variables.
| Constructor Detail |
|---|
public PenaltyFunction(int dimensionality)
dimensionality - dimensionality of the problem to be solved| Method Detail |
|---|
public int dimension4Domain()
FunctionFor example, for a univariate function, the domain dimension is 1. For a bivariate function, the domain dimension is 2.
dimension4Domain in interface Functionpublic int dimension4Range()
Function
For example, for a Rn->Rm function, the dimension of the range is m.
dimension4Range in interface Function
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||