|
IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
DTO (Data Transfer Objects) for storing contents of direct analysis request (in optimization problems). More...
Inheritance diagram for IG.Num.AnalysisResultsDto:
Collaboration diagram for IG.Num.AnalysisResultsDto:Public Member Functions | |
| AnalysisResultsDto () | |
| Default constructor. More... | |
Public Member Functions inherited from IG.Num.AnalysisRequestDto | |
| AnalysisRequestDto () | |
| Default constructor. More... | |
| override AnalysisResults | CreateObject () |
| Creates and returns a new analysis request object. More... | |
Protected Member Functions | |
| override void | CopyFromPlain (AnalysisResults anres) |
| Copies data to the current DTO from an analysis results object. More... | |
| override void | CopyToPlain (ref AnalysisResults anres) |
| Copies data from the current DTO to an analysis results object. More... | |
Protected Member Functions inherited from IG.Num.AnalysisRequestDto | |
| override void | CopyFromPlain (AnalysisResults anres) |
| Copies data to the current DTO from an analysis results object. More... | |
| override void | CopyToPlain (ref AnalysisResults anres) |
| Copies data from the current DTO to a vector object. More... | |
Protected Attributes | |
| int | _errorCode = 0 |
| string | _errorString = null |
Properties | |
| virtual int | ErrorCode [get, set] |
| Error code. 0 - everything is OK. negative value - something went wrong. More... | |
| virtual String | ErrorString [get, set] |
| Error string indicating what went wrong. More... | |
| bool | CalculatedObjective [get, set] |
| Flag indicating whether calculation of objective function is required or not. More... | |
| bool | CalculatedConstraints [get, set] |
| Flag indicating whether calculation of constraint functions is required or not. More... | |
| bool | CalculatedObjectiveGradient [get, set] |
| Flag indicating whether calculation of objective function gradient is required or not. More... | |
| bool | CalculatedConstraintGradients [get, set] |
| Flag indicating whether calculation of constraint function gradients is required or not. More... | |
| bool | CalculatedObjectiveHessian [get, set] |
| Flag indicating whether calculation of objective function Hessian is required or not. More... | |
| bool | CalculatedConstraintHessians [get, set] |
| Flag indicating whether calculation of constraint function Hessians is required or not. More... | |
| Double | Objective [get, set] |
| Value of the objective function. More... | |
| double[] | Constraints [get, set] |
| VectorDtoBase | ObjectiveGradient [get, set] |
| Gradient of the objective function. More... | |
| VectorDtoBase[] | ConstraintGradients [get, set] |
| Gradients of constraint functions. More... | |
| MatrixDtoBase | ObjectiveHessian [get, set] |
| Hessian of the objective function. More... | |
| MatrixDtoBase[] | ConstraintHessians [get, set] |
| Hessians of constraint functions. More... | |
Properties inherited from IG.Num.AnalysisRequestDto | |
| int | NumParameters [get, set] |
| Number of parameters of an optimization problem. More... | |
| int | NumObjectives [get, set] |
| Number of objective functions (usually 1, always less or equal to 1 - since this is not meant for multiobjective optimization). More... | |
| int | NumConstraints [get, set] |
| Number of constraint functions in the optimization problem. More... | |
| int | NumEqualityConstraints [get, set] |
| Number of equality constraints. More... | |
| VectorDtoBase | Parameters [get, set] |
| Vector of parameters at which response functons are requested. More... | |
| bool | RequestedObjective [get, set] |
| Flag indicating whether calculation of objective function is required or not. More... | |
| bool | RequestedConstraints [get, set] |
| Flag indicating whether calculation of constraint functions is required or not. More... | |
| bool | RequestedObjectiveGradient [get, set] |
| Flag indicating whether calculation of objective function gradient is required or not. More... | |
| bool | RequestedConstraintGradients [get, set] |
| Flag indicating whether calculation of constraint function gradients is required or not. More... | |
| bool | RequestedObjectiveHessian [get, set] |
| Flag indicating whether calculation of objective function Hessian is required or not. More... | |
| bool | RequestedConstraintHessians [get, set] |
| Flag indicating whether calculation of constraint function Hessians is required or not. More... | |
Private Attributes | |
| bool | _calculatedObjective = true |
| bool | _calculatedConstraints = true |
| bool | _calculatedObjectiveGradient = false |
| bool | _calculatedConstraintGradients = false |
| bool | _calculatedObjectiveHessian = false |
| bool | _calculatedConstraintHessians = false |
| double | _objective |
| double[] | _constraints |
| VectorDtoBase | _objectiveGratient |
| VectorDtoBase[] | _constraintGradients |
| MatrixDtoBase | _objectiveHessian |
| MatrixDtoBase[] | _constraintHessians |
DTO (Data Transfer Objects) for storing contents of direct analysis request (in optimization problems).
$A Igor Aug10;
|
inline |
Default constructor.
|
inlineprotected |
Copies data to the current DTO from an analysis results object.
| anres | Analysis results object from which data is copied. |
References IG.Num.AnalysisResults.CalculatedConstraintGradients, IG.Num.AnalysisResults.CalculatedConstraintHessians, IG.Num.AnalysisResults.CalculatedConstraints, IG.Num.AnalysisResults.CalculatedObjective, IG.Num.AnalysisResults.CalculatedObjectiveGradient, IG.Num.AnalysisResults.CalculatedObjectiveHessian, IG.Num.AnalysisResults.ConstraintGradients, IG.Num.AnalysisResults.ConstraintHessians, IG.Num.AnalysisResults.Constraints, IG.Num.AnalysisResults.ErrorCode, IG.Num.AnalysisResults.ErrorString, IG.Num.AnalysisResults.Objective, IG.Num.AnalysisResults.ObjectiveGradient, and IG.Num.AnalysisResults.ObjectiveHessian.
|
inlineprotected |
Copies data from the current DTO to an analysis results object.
| anres | Analysis results object that data is copied to. |
|
protected |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
getset |
Error code. 0 - everything is OK. negative value - something went wrong.
|
getset |
Error string indicating what went wrong.
|
getset |
Flag indicating whether calculation of objective function is required or not.
|
getset |
Flag indicating whether calculation of constraint functions is required or not.
|
getset |
Flag indicating whether calculation of objective function gradient is required or not.
|
getset |
Flag indicating whether calculation of constraint function gradients is required or not.
|
getset |
Flag indicating whether calculation of objective function Hessian is required or not.
|
getset |
Flag indicating whether calculation of constraint function Hessians is required or not.
|
getset |
Value of the objective function.
|
getset |
|
getset |
Gradient of the objective function.
|
getset |
Gradients of constraint functions.
|
getset |
Hessian of the objective function.
|
getset |
Hessians of constraint functions.