Package | Description |
---|---|
agi.foundation.stoppingconditions |
Contains types for stopping propagation when various events occur.
|
Modifier and Type | Method and Description |
---|---|
ConditionCheckCallback |
DelegateStoppingCondition.getCallback()
Gets the
ConditionCheckCallback . |
static ConditionCheckCallback |
ConditionCheckCallback.of(ConditionCheckCallback.Function f)
Create a delegate for the given interface.
|
static ConditionCheckCallback |
ConditionCheckCallback.of(ConditionCheckCallback.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static ConditionCheckCallback |
ConditionCheckCallback.of(ConditionCheckCallback.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegateStoppingCondition.setCallback(ConditionCheckCallback value)
Sets the
ConditionCheckCallback . |
Constructor and Description |
---|
DelegateStoppingCondition(ConditionCheckCallback callback,
double threshold,
double valueTolerance,
StopType type)
Initializes a new instance.
|
DelegateStoppingCondition(ConditionCheckCallback callback,
double valueTolerance,
StopType type)
Initializes a new instance.
|