Base class for a variety of response evaluators. Calculates response at specific parameters, stores calculated responses in a list, etc. The current generic class can be used for differnt types of respnses (results) and different types of object for evaluation of responses, such as vector funcitons or optimization analyses.
More...
|
abstract void | GetData (TypeResults results) |
| Copies input data from results object. More...
|
|
abstract TypeResults | CopyResults (TypeResults results) |
| Creates and returns a copy of the speccified results object. More...
|
|
abstract TypeResults | CreateRequestThis (IVector parameters) |
| Creates and returns request for response evaluation at the specified parameters, where request options are transcribed from the current response evaluator. More...
|
|
abstract void | EvaluateResponseThis (TypeResults requestAndResponse) |
| Evaluates the response. More...
|
|
|
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...
|
|
object | InternalLock [get] |
| Used internally for locking access to internal fields. More...
|
|
virtual TypeResults | LastResults [get, set] |
| Results of the last evaluation of response performed by the current response evaluator. More...
|
|
virtual bool | AddResultsAutomatically [get, set] |
| Flag indicated whether the last evaluated results are automatically added to the list of results when these results are set (by setting the LastResults property). More...
|
|
List< TypeResults > | Results [get, protected set] |
| List of calculated results. The list is intended to store the results. More...
|
|
virtual TypeResults | this[int which] [get, set] |
|
abstract TypeFunction | EvaluationObject [get, set] |
|
object | Lock [get] |
|
Base class for a variety of response evaluators. Calculates response at specific parameters, stores calculated responses in a list, etc. The current generic class can be used for differnt types of respnses (results) and different types of object for evaluation of responses, such as vector funcitons or optimization analyses.
- Template Parameters
-
TypeResults | Type of the objects wheer results of evaluation response are stored. Type of objects that hold requests for evaluation of respone must be the same. |
TypeFunction | Type of the function that performs response calculation. |
$A Igor Jul08;
- Type Constraints
-
TypeResults | : | class | |
TypeFunction | : | class | |
IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.ResponseEvaluatorWithStorageBase |
( |
| ) |
|
|
inline |
Creates a ResponseEvaluatorBase object.
IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.ResponseEvaluatorWithStorageBase |
( |
TypeFunction |
evaluationFunction | ) |
|
|
inline |
Creates a ResponseEvaluatorBase object with the specified response evaluator that will be used for response evaluation.
- Parameters
-
evaluationFunction | Evaluator object that is used for calculation of respones. |
abstract void IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.GetData |
( |
TypeResults |
results | ) |
|
|
protectedpure virtual |
Copies input data from results object.
- Parameters
-
abstract TypeResults IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.CopyResults |
( |
TypeResults |
results | ) |
|
|
protectedpure virtual |
Creates and returns a copy of the speccified results object.
- Parameters
-
results | Results object to be copied. |
- Returns
- A copy of results object.
abstract TypeResults IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.CreateRequestThis |
( |
IVector |
parameters | ) |
|
|
protectedpure virtual |
abstract void IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.EvaluateResponseThis |
( |
TypeResults |
requestAndResponse | ) |
|
|
protectedpure virtual |
Evaluates the response.
- Parameters
-
results | Object that must contain complete response evaluation request data, and where results of response evaluation will be stored. |
virtual void IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.EvaluateResponse |
( |
IVector |
parameters | ) |
|
|
inlinevirtual |
Evaluates the response at specific parameters.
- Parameters
-
virtual void IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.EvaluateResponse |
( |
TypeResults |
requestAndResponse | ) |
|
|
inlinevirtual |
void IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.ClearResults |
( |
| ) |
|
|
inline |
Removes all results from the list of results. The list is intended to store the results.
void IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.AddResult |
( |
TypeResults |
result | ) |
|
|
inline |
Adds a new result to the list of results. The list is intended to store the results.
- Parameters
-
result | Object containing results to be added. |
object IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >._mainLock = new object() |
|
private |
object IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >._internalLock = new object() |
|
private |
TypeResults IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >._lastResults |
|
private |
bool IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >._addResultsAutomatically = true |
|
private |
List<TypeResults> IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >._results |
|
private |
object IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.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.
object IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.InternalLock |
|
getprotected |
Used internally for locking access to internal fields.
virtual TypeResults IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.LastResults |
|
getset |
Results of the last evaluation of response performed by the current response evaluator.
virtual bool IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.AddResultsAutomatically |
|
getset |
List<TypeResults> IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.Results |
|
getprotected set |
virtual TypeResults IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.this[int which] |
|
getset |
abstract TypeFunction IG.NumExperimental.ResponseEvaluatorWithStorageBase< TypeResults, TypeFunction >.EvaluationObject |
|
getset |
The documentation for this class was generated from the following file: