EvaluatorGroupGetOptimizedTEvaluator Method |
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static TEvaluator GetOptimized<TEvaluator>(
EvaluatorGroupCallback0<TEvaluator> callback
)
where TEvaluator : class
Public Shared Function GetOptimized(Of TEvaluator As Class) (
callback As EvaluatorGroupCallback0(Of TEvaluator)
) As TEvaluator
public:
generic<typename TEvaluator>
where TEvaluator : ref class
static TEvaluator GetOptimized(
EvaluatorGroupCallback0<TEvaluator>^ callback
)
static member GetOptimized :
callback : EvaluatorGroupCallback0<'TEvaluator> -> 'TEvaluator when 'TEvaluator : not struct
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:
TEvaluatorThe optimized evaluator.
Remarks See Also