Click or drag to resize

EvaluatorGroupGetOptimizedTEvaluator Method

Creates a EvaluatorGroup, uses that group to obtain an evaluator by calling callback, then calls UpdateReferenceT(T) and returns the resulting optimized evaluator.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public static TEvaluator GetOptimized<TEvaluator>(
	EvaluatorGroupCallback0<TEvaluator> callback
)
where TEvaluator : class

Parameters

callback
Type: AGI.FoundationEvaluatorGroupCallback0TEvaluator
A callback that obtains an evaluator using a newly created group.

Type Parameters

TEvaluator
The type of the evaluator.

Return Value

Type: TEvaluator
The optimized evaluator.
Remarks
The created EvaluatorGroup can be obtained from the Group property of the returned evaluator.
See Also