Click or drag to resize

TerminationWatcherUpdate Method

Updates the termination watcher state. The NaN values are ignored without errors but the EvaluationsLimit and Timeout are checked.

Namespace:  FinMath.MachineLearning
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public bool Update(
	double objective,
	Object objectiveModel = null
)

Parameters

objective
Type: SystemDouble
The objective value.
objectiveModel (Optional)
Type: SystemObject
The model, associated with the objective value. This is an optional parameter just for user code simplification.

Return Value

Type: Boolean
Is the best objective value was updated.
See Also