Click or drag to resize

EvaluatorGroup Class

A group of evaluators that share common computations so that all members of the group can be computed more efficiently.
Inheritance Hierarchy
SystemObject
  AGI.FoundationEvaluatorGroup

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 18.4.397.0 (18.4.397.0)
Syntax
public sealed class EvaluatorGroup : IDisposable

The EvaluatorGroup type exposes the following members.

Constructors
  NameDescription
Public methodEvaluatorGroup
Initializes a new instance.
Top
Methods
  NameDescription
Public methodCallAndMemoizeTResult(EvaluatorGroupCallback0TResult)
Optimizes calls to a callback that is expected to be called multiple times so that future calls with the same parameters return a cached result rather than actually invoking the callback again. The first time this method is called with a particular set of parameters, the callback is invoked and the result is stored in the evaluator group. The second and successive times this method is called with the same parameters, the cached result is returned without invoking the callback.
Public methodCallAndMemoizeTResult, TParameter1(EvaluatorGroupCallback1TResult, TParameter1, TParameter1)
Optimizes calls to a callback that is expected to be called multiple times so that future calls with the same parameters return a cached result rather than actually invoking the callback again. The first time this method is called with a particular set of parameters, the callback is invoked and the result is stored in the evaluator group. The second and successive times this method is called with the same parameters, the cached result is returned without invoking the callback.
Public methodCallAndMemoizeTResult, TParameter1, TParameter2(EvaluatorGroupCallback2TResult, TParameter1, TParameter2, TParameter1, TParameter2)
Optimizes calls to a callback that is expected to be called multiple times so that future calls with the same parameters return a cached result rather than actually invoking the callback again. The first time this method is called with a particular set of parameters, the callback is invoked and the result is stored in the evaluator group. The second and successive times this method is called with the same parameters, the cached result is returned without invoking the callback.
Public methodCallAndMemoizeTResult, TParameter1, TParameter2, TParameter3(EvaluatorGroupCallback3TResult, TParameter1, TParameter2, TParameter3, TParameter1, TParameter2, TParameter3)
Optimizes calls to a callback that is expected to be called multiple times so that future calls with the same parameters return a cached result rather than actually invoking the callback again. The first time this method is called with a particular set of parameters, the callback is invoked and the result is stored in the evaluator group. The second and successive times this method is called with the same parameters, the cached result is returned without invoking the callback.
Public methodCallAndMemoizeTResult, TParameter1, TParameter2, TParameter3, TParameter4(EvaluatorGroupCallback4TResult, TParameter1, TParameter2, TParameter3, TParameter4, TParameter1, TParameter2, TParameter3, TParameter4)
Optimizes calls to a callback that is expected to be called multiple times so that future calls with the same parameters return a cached result rather than actually invoking the callback again. The first time this method is called with a particular set of parameters, the callback is invoked and the result is stored in the evaluator group. The second and successive times this method is called with the same parameters, the cached result is returned without invoking the callback.
Public methodCallAndMemoizeTResult, TParameter1, TParameter2, TParameter3, TParameter4, TParameter5(EvaluatorGroupCallback5TResult, TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter1, TParameter2, TParameter3, TParameter4, TParameter5)
Optimizes calls to a callback that is expected to be called multiple times so that future calls with the same parameters return a cached result rather than actually invoking the callback again. The first time this method is called with a particular set of parameters, the callback is invoked and the result is stored in the evaluator group. The second and successive times this method is called with the same parameters, the cached result is returned without invoking the callback.
Public methodCreateEvaluatorTEvaluator(EvaluatorGroupCallback0TEvaluator)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the evaluator does not already exist in the group.
Public methodCreateEvaluatorTEvaluator, TParameter1(EvaluatorGroupCallback1TEvaluator, TParameter1, TParameter1)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the evaluator does not already exist in the group.
Public methodCreateEvaluatorTEvaluator, TParameter1, TParameter2(EvaluatorGroupCallback2TEvaluator, TParameter1, TParameter2, TParameter1, TParameter2)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the evaluator does not already exist in the group.
Public methodCreateEvaluatorTEvaluator, TParameter1, TParameter2, TParameter3(EvaluatorGroupCallback3TEvaluator, TParameter1, TParameter2, TParameter3, TParameter1, TParameter2, TParameter3)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the evaluator does not already exist in the group.
Public methodCreateEvaluatorTEvaluator, TParameter1, TParameter2, TParameter3, TParameter4(EvaluatorGroupCallback4TEvaluator, TParameter1, TParameter2, TParameter3, TParameter4, TParameter1, TParameter2, TParameter3, TParameter4)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the evaluator does not already exist in the group.
Public methodCreateEvaluatorTEvaluator, TParameter1, TParameter2, TParameter3, TParameter4, TParameter5(EvaluatorGroupCallback5TEvaluator, TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter1, TParameter2, TParameter3, TParameter4, TParameter5)
Creates an evaluator in the context of this evaluator group by invoking a callback, if the evaluator does not already exist in the group.
Public methodDispose
Releases any resources associated with this instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodForceEvaluatorToBeCached
Forces an evaluator to be cached, even if it does not appear to be called by more than one other evaluator. This is useful when a single evaluator calls another evaluator in two different contexts, and the value should be cached between those two calls.
Public methodForgetDependency
Instructs the evaluator group to forget about a dependency for the evaluator that is currently being constructed. For example, if the current evaluator obtains a sub-evaluator and then decides (based on properties of the sub-evaluator, for example) that the sub-evaluator is not needed, it can call this method to eliminate the sub-evaluator from consideration.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetOptimizedTEvaluator
Creates a EvaluatorGroup, uses that group to obtain an evaluator by calling callback, then calls UpdateReferenceT(T) and returns the resulting optimized evaluator.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodOptimizeEvaluators
Optimizes the evaluators in this group. After calling this method, you should also call UpdateReferenceT(T) to obtain an optimized version of each top-level evaluator you are using.
Public methodParameterizeTResult(IEvaluatorTResult)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTResult(MotionEvaluatorTResult)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTResult(IEvaluatorTResult, ParameterAction)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTResult(MotionEvaluatorTResult, ParameterAction)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTParameter1, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, ParameterAction)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTParameter1, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, ParameterAction)
Parameterizes an evaluator with zero parameters.
Public methodParameterizeTParameter1, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, ParameterAction)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, ParameterAction)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, ParameterAction)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TParameter2, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, ParameterAction)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TParameter2, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, ParameterAction)
Parameterizes an evaluator with one parameter.
Public methodParameterizeTParameter1, TParameter2, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, ParameterAction)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, ParameterAction)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, ParameterAction)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, ParameterAction)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, ParameterAction)
Parameterizes an evaluator with two parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, ParameterAction)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, ParameterAction)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, ParameterAction)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, ParameterAction)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, ParameterAction)
Parameterizes an evaluator with three parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, ParameterAction)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, ParameterAction)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, ParameterAction)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, ParameterAction)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, ParameterAction)
Parameterizes an evaluator with four parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, ParameterAction)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, ParameterAction)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, ParameterAction)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, ParameterAction)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, ParameterAction)
Parameterizes an evaluator with five parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, ParameterAction)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, ParameterAction)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, ParameterAction)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, ParameterAction)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, ParameterAction)
Parameterizes an evaluator with six parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult(IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7, ParameterAction)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult(IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7, ParameterAction)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult(MotionEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7, ParameterAction)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult, TResultOverIntervals(IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7, ParameterAction)
Parameterizes an evaluator with seven parameters.
Public methodParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult, TResultDerivative(MotionEvaluatorTResult, TResultDerivative, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7, ParameterAction)
Parameterizes an evaluator with seven parameters.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateReferenceT
Updates a reference in order to ensure that references to two or more equivalent evaluators are reduced to a single instance.
Top
Remarks

See the Evaluators And Evaluator Groups topic for more information on using evaluator groups to get better evaluator performance.

Definitional object methods that return evaluators should not construct those evaluators directly. Instead, they should call CreateEvaluatorTEvaluator(EvaluatorGroupCallback0TEvaluator) (or one of the other overloads) on the evaluator group in which the evaluator is to be constructed, passing a delegate that will actually construct the evaluator. The delegate will only be invoked by the evaluator group if the evaluator has not been previously created in the group.

C#
public IEvaluator<double> GetEvaluator(EvaluatorGroup group)
{
    if (group == null)
        throw new ArgumentNullException("group");

    return group.CreateEvaluator<IEvaluator<double>>(CreateEvaluator);
}

private IEvaluator<double> CreateEvaluator(EvaluatorGroup group)
{
    return new SimpleEvaluator(group);
}

See Also