Package | Description |
---|---|
agi.foundation.numericalmethods |
Contains general numerical algorithms.
|
Modifier and Type | Method and Description |
---|---|
DelegateBasedCostFunctionCallback |
DelegateBasedCostFunction.getCallback()
Gets the
delegate that computes the value from the SegmentResults
to minimize or maximize. |
static DelegateBasedCostFunctionCallback |
DelegateBasedCostFunctionCallback.of(DelegateBasedCostFunctionCallback.Function f)
Create a delegate for the given interface.
|
static DelegateBasedCostFunctionCallback |
DelegateBasedCostFunctionCallback.of(DelegateBasedCostFunctionCallback.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static DelegateBasedCostFunctionCallback |
DelegateBasedCostFunctionCallback.of(DelegateBasedCostFunctionCallback.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegateBasedCostFunction.setCallback(DelegateBasedCostFunctionCallback value)
Sets the
delegate that computes the value from the SegmentResults
to minimize or maximize. |
Constructor and Description |
---|
DelegateBasedCostFunction(DelegateBasedCostFunctionCallback callback,
SegmentDefinition segment,
CostFunctionGoal goal,
double tolerance)
Initializes a new instance.
|
DelegateBasedCostFunction(DelegateBasedCostFunctionCallback callback,
SegmentDefinition segment,
CostFunctionGoal goal,
double tolerance,
CostFunctionScaling scaling,
double weight)
Initializes a new instance.
|