Managed Iterative Algorithm<T, TError, TReport>.Set Result Method
Sets the results of an algorithm's execution.
Definition
Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
protected void SetResult(
T result,
TError estimatedError,
AlgorithmStatus status,
int iterations
)
Parameters
- result T
- An Object of a type determined by the class implementing the interface.
- estimatedError TError
- A value indicating the size of the absolute error of the result.
- status AlgorithmStatus
- One of the AlgorithmStatus values.
- iterations Int32
- The number of iterations that were executed.
Remarks
This method must be called after the iteration terminates. It may also be called after each iteration to provide intermediate results.