IterativeAlgorithm<T>.ReportFailure Method

Definition

Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

ReportFailure(AlgorithmStatus) Reports that the algoritm has failed. No further iterations will be performed.
ReportFailure(T, TError, AlgorithmStatus) Records the results of an algorithm in case it fails.

ReportFailure(AlgorithmStatus)

Reports that the algoritm has failed. No further iterations will be performed.
C#
protected virtual void ReportFailure(
	AlgorithmStatus status
)

Parameters

status  AlgorithmStatus
A AlgorithmStatus value that specifies the reason for the failure.

Remarks

The result and estimated error are set to the values returned by the ValueEvaluator() and ErrorEvaluator() properties.

See Also