TargetedSegmentListFunction Class |
A SolvableMultivariableFunction that can be used in a MultivariableFunctionSolver to solve for an arbitrary trajectory or other state elements based on variables and constraints.
This function will be created automatically at propagation time inside any TargetedSegmentListOperator that requires a function. As such, this will not dispose the items it is configured with.
Namespace: AGI.Foundation.NumericalMethods
The TargetedSegmentListFunction type exposes the following members.
Name | Description | |
---|---|---|
TargetedSegmentListFunction(TargetedSegmentListFunction, CopyContext) | Initializes a new instance as a copy of an existing instance. | |
TargetedSegmentListFunction(IListSegmentPropagatorVariableEvaluator, IListSegmentPropagatorConstraintEvaluator, IListSegmentPropagator, FiniteDifferenceMethod, TargetedSegmentListResults, TargetedSegmentListConfiguration) |
Initializes a new instance. The items passed in can be the original items that would be
propagated normally; you do not need to clone or otherwise copy the parameters for this function.
|
Name | Description | |
---|---|---|
DifferenceMethod |
Gets or sets how the default numerically computed derivative of this function should be computed.
(Inherited from SolvableMultivariableFunction.) | |
IsThreadSafe |
Gets a value indicating whether the methods on this instance are safe to call from
multiple threads simultaneously.
(Overrides SolvableMultivariableFunctionIsThreadSafe.) | |
PerturbationValues |
Gets or sets the values to use to perturb the variables when the derivative is computed numerically.
This can be ignored if the concrete function computes its derivative analytically.
(Inherited from SolvableMultivariableFunction.) |
Name | Description | |
---|---|---|
ApplyResults |
For SolvableMultivariableFunctions that have
state, there may be times when that state should be manually set on a function (sometimes
for performance reasons, when the function will be called multiple times and it should
start from where it left off). This method will manually set that state, if needed.
(Overrides SolvableMultivariableFunctionApplyResults(SolvableMultivariableFunctionResults).) | |
CallDerivativeEvaluationEvent |
Calls the DerivativeEvaluationEvent.
(Inherited from SolvableMultivariableFunction.) | |
Clone |
Clones this object using the specified context.
(Overrides SolvableMultivariableFunctionClone(CopyContext).) | |
Dispose |
Releases any resources associated with this instance.
(Inherited from SolvableMultivariableFunction.) | |
Dispose(Boolean) |
Releases any resources associated with this instance.
(Inherited from SolvableMultivariableFunction.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Evaluate(Double, ITrackCalculationProgress) |
Evaluates the function. The SolvableMultivariableFunctionResults returned must include the computed
constraints in the order that they are in the Constraints.
If your function computes more than just constraint values you should extend
SolvableMultivariableFunctionResults to contain those additional results.
(Overrides SolvableMultivariableFunctionEvaluate(Double, ITrackCalculationProgress).) | |
Evaluate(Double, Int32, Boolean, ITrackCalculationProgress) |
Evaluates the function and the Jacobian. This will call both the DerivativeEvaluationEvent and the
NormalFunctionEvaluationEvent events.
(Inherited from SolvableMultivariableFunction.) | |
EvaluateDerivative(Double, Boolean, ITrackCalculationProgress) |
Evaluates the Jacobian of this function. The default implementation of this method will numerically compute the
Jacobian. To do that, the value of the function at the
variables will be computed. When using the default implementation, the
PerturbationValues must be set.
(Inherited from SolvableMultivariableFunction.) | |
EvaluateDerivative(Double, Boolean, SolvableMultivariableFunctionResults, ITrackCalculationProgress) |
Evaluates the Jacobian of this function. The default implementation of this method will numerically compute the
Jacobian. To do that, the value of the function at the
variables will be computed.
(Inherited from SolvableMultivariableFunction.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DerivativeEvaluationEvent |
An event that gets raised when the derivative of the function is evaluated.
This event will be raised in whatever thread the derivative is evaluated in.
If you override the
EvaluateDerivative(Double, Boolean, SolvableMultivariableFunctionResults, ITrackCalculationProgress)
method, you should call this event.
(Inherited from SolvableMultivariableFunction.) | |
NormalFunctionEvaluationEvent |
An event that gets raised when the nominal function is evaluated.
This event will be raised in whatever thread the nominal function run was.
This should be called in the concrete Evaluate(Double, ITrackCalculationProgress) method.
(Inherited from SolvableMultivariableFunction.) | |
PerturbedFunctionEvaluationEvent |
An event that gets raised when a perturbed function is computed as part of the derivation of the derivative of the function.
This event will be raised in whatever thread the function was evaluated in.
This can be ignored if the concrete function computes its derivative analytically.
(Inherited from SolvableMultivariableFunction.) |