ScalarAtEndOfSegmentCostFunction Constructor (SegmentDefinition, CostFunctionGoal, Double) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ScalarAtEndOfSegmentCostFunction(
SegmentDefinition segment,
CostFunctionGoal goal,
double tolerance
)
Public Sub New (
segment As SegmentDefinition,
goal As CostFunctionGoal,
tolerance As Double
)
public:
ScalarAtEndOfSegmentCostFunction(
SegmentDefinition^ segment,
CostFunctionGoal goal,
double tolerance
)
new :
segment : SegmentDefinition *
goal : CostFunctionGoal *
tolerance : float -> ScalarAtEndOfSegmentCostFunction
Parameters
- segment
- Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The SegmentDefinition whose final state will
be used to compute the Scalar. - goal
- Type: AGI.Foundation.NumericalMethodsCostFunctionGoal
Whether the cost function should be minimized or maximized. - tolerance
- Type: SystemDouble
How small the cost function's variation between subsequent iterations must become
to consider this cost function to be converged.
See Also