TargetedSegmentListOptimizerFunction Constructor (IListSegmentPropagatorVariableEvaluator, SegmentPropagatorCostFunctionEvaluator, IListSegmentPropagatorConstraintEvaluator, IListSegmentPropagatorInequalityConstraintEvaluator, 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.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public TargetedSegmentListOptimizerFunction(
IList<SegmentPropagatorVariableEvaluator> variableEvaluators,
SegmentPropagatorCostFunctionEvaluator costFunctionEvaluator,
IList<SegmentPropagatorConstraintEvaluator> equalityEvaluators,
IList<SegmentPropagatorInequalityConstraintEvaluator> inequalityEvaluators,
IList<SegmentPropagator> segmentPropagators,
FiniteDifferenceMethod differenceMethod,
TargetedSegmentListResults emptyResults,
TargetedSegmentListConfiguration configuration
)
Public Sub New (
variableEvaluators As IList(Of SegmentPropagatorVariableEvaluator),
costFunctionEvaluator As SegmentPropagatorCostFunctionEvaluator,
equalityEvaluators As IList(Of SegmentPropagatorConstraintEvaluator),
inequalityEvaluators As IList(Of SegmentPropagatorInequalityConstraintEvaluator),
segmentPropagators As IList(Of SegmentPropagator),
differenceMethod As FiniteDifferenceMethod,
emptyResults As TargetedSegmentListResults,
configuration As TargetedSegmentListConfiguration
)
public:
TargetedSegmentListOptimizerFunction(
IList<SegmentPropagatorVariableEvaluator^>^ variableEvaluators,
SegmentPropagatorCostFunctionEvaluator^ costFunctionEvaluator,
IList<SegmentPropagatorConstraintEvaluator^>^ equalityEvaluators,
IList<SegmentPropagatorInequalityConstraintEvaluator^>^ inequalityEvaluators,
IList<SegmentPropagator^>^ segmentPropagators,
FiniteDifferenceMethod differenceMethod,
TargetedSegmentListResults^ emptyResults,
TargetedSegmentListConfiguration^ configuration
)
new :
variableEvaluators : IList<SegmentPropagatorVariableEvaluator> *
costFunctionEvaluator : SegmentPropagatorCostFunctionEvaluator *
equalityEvaluators : IList<SegmentPropagatorConstraintEvaluator> *
inequalityEvaluators : IList<SegmentPropagatorInequalityConstraintEvaluator> *
segmentPropagators : IList<SegmentPropagator> *
differenceMethod : FiniteDifferenceMethod *
emptyResults : TargetedSegmentListResults *
configuration : TargetedSegmentListConfiguration -> TargetedSegmentListOptimizerFunction
Parameters
- variableEvaluators
- Type: System.Collections.GenericIListSegmentPropagatorVariableEvaluator
The SegmentPropagatorVariableEvaluator that this
function will vary. - costFunctionEvaluator
- Type: AGI.Foundation.NumericalMethodsSegmentPropagatorCostFunctionEvaluator
The SegmentPropagatorCostFunction that will form
part of the results of this function. - equalityEvaluators
- Type: System.Collections.GenericIListSegmentPropagatorConstraintEvaluator
The SegmentPropagatorConstraintEvaluator that will
form part of the results of this function. - inequalityEvaluators
- Type: System.Collections.GenericIListSegmentPropagatorInequalityConstraintEvaluator
The SegmentPropagatorInequalityConstraintEvaluator that will
form part of the results of this function. - segmentPropagators
- Type: System.Collections.GenericIListSegmentPropagator
The SegmentPropagators that will be run
to evaluate this function. - differenceMethod
- Type: AGI.Foundation.NumericalMethodsFiniteDifferenceMethod
How this function should be sampled to determine the derivative of a variable. - emptyResults
- Type: AGI.Foundation.SegmentPropagationTargetedSegmentListResults
The TargetedSegmentListResults of the segment that is running this function.
This may not be and it must have in it configurations for all of the segmentPropagators. - configuration
- Type: AGI.Foundation.SegmentPropagationTargetedSegmentListConfiguration
The configuration of the parent TargetedSegmentList that is running
the operator that is running this function.
See Also