|
IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
File analysis client. Passes direct analysis request to the server and gets analysis results from it. More...
Inheritance diagram for IG.Num.OptFileAnalysisClient:
Collaboration diagram for IG.Num.OptFileAnalysisClient:Public Member Functions | |
| OptFileAnalysisClient (string directoryPath) | |
| Constructs optimization file client. More... | |
Public Member Functions inherited from IG.Num.AnalysisBase | |
| abstract void | Analyse (IAnalysisResults analysisData) |
| Performs analysis - calculates requested results and writes them to the provided data structure. More... | |
Protected Member Functions | |
| virtual OptFileManager | CreateOptFileManager (string directoryPath) |
| Creates and returns an appropriate file manager for optimization file client/server. This method must be overridden in the derived classes. More... | |
Properties | |
| object | Lock [get] |
| This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More... | |
| OptFileManager | FileManager [get, protected set] |
| Optimization client/server file manager used by the current analysis server. More... | |
| AnalysisResults | AnalysisPoint [get, protected set] |
| Last analysis request or results. More... | |
Properties inherited from IG.Num.AnalysisBase | |
| object | Lock [get] |
| virtual int | NumParameters [get, set] |
| Number of parameters. More... | |
| virtual int | NumObjectives [get, set] |
| Number of objective functions (normally 1 for this type, but can be 0). More... | |
| virtual int | NumConstraints [get, set] |
| Number of constraints. More... | |
| virtual int | NumEqualityConstraints [get, set] |
| Number of equality constraints. More... | |
Properties inherited from IG.Num.IAnalysis | |
| int | NumParameters [get, set] |
| Number of parameters. More... | |
| int | NumObjectives [get, set] |
| Number of objective functions (normally 1 for this type, but can be 0). More... | |
| int | NumConstraints [get, set] |
| Number of constraints. More... | |
| int | NumEqualityConstraints [get, set] |
| Number of equality constraints. More... | |
Properties inherited from IG.Lib.ILockable | |
| object | Lock [get] |
Private Member Functions | |
| OptFileAnalysisClient () | |
| Prevent calling argument-less constructor. More... | |
Private Attributes | |
| object | _mainLock = new object() |
| OptFileManager | _fileManager |
| AnalysisResults | _analysisPoint |
Additional Inherited Members | |
Protected Attributes inherited from IG.Num.AnalysisBase | |
| int | _numParameters = -1 |
| int | _numObjectives = -1 |
| int | _numConstraints = -1 |
| int | _numEqualityConstraints = -1 |
File analysis client. Passes direct analysis request to the server and gets analysis results from it.
WARNING: This module is taken from Dragonfly opt. server and adapted for purpose of some projects. If necessary to further develop, synchronize (& possibly merge) with Dragonfly, otherwise there will be problems with consistent development of both branches. WARNING: Only a part of file analysis client is taken from Dragonfly, be careful with sync. (the best way is to do modifications in Dragonfly's code and then transfer them to IGLib).
$A Igor jul08 Mar11;
|
inlineprivate |
Prevent calling argument-less constructor.
|
inline |
Constructs optimization file client.
| directoryPath | Directory where data exchange and message files are located. |
|
inlineprotectedvirtual |
Creates and returns an appropriate file manager for optimization file client/server. This method must be overridden in the derived classes.
| directoryPath | Directory where data exchange and message files are located. |
|
private |
|
private |
|
private |
|
get |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.
|
getprotected set |
Optimization client/server file manager used by the current analysis server.
|
getprotected set |
Last analysis request or results.