Click or drag to resize

EvaluatorGroupUpdateReferenceT Method

Updates a reference in order to ensure that references to two or more equivalent evaluators are reduced to a single instance.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public T UpdateReference<T>(
	T evaluator
)
where T : class

Parameters

evaluator
Type: T
The evaluator reference to update.

Type Parameters

T
The type of the evaluator.

Return Value

Type: T
A reference to an evaluator to use instead of the specified evaluator.
Remarks
This method automatically calls OptimizeEvaluators if it has not already been called.
See Also