public interface LibraryIteration extends LibraryFeature
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createAccumulatorValue(DomainEvaluator evaluator,
TypeId accumulatorTypeId,
TypeId bodyTypeId)
Create the value that will accumulate the iteration results.
|
java.lang.Object |
evaluateIteration(DomainIterationManager iterationManager)
Evaluate the iteration under the supervision of an iterationManager.
|
@NonNull java.lang.Object createAccumulatorValue(@NonNull DomainEvaluator evaluator, @NonNull TypeId accumulatorTypeId, @NonNull TypeId bodyTypeId)
evaluator
- that supervises evaluationtype
- of the accumulatorInvalidValueException
@Nullable java.lang.Object evaluateIteration(@NonNull DomainIterationManager iterationManager)
iterationManager
- the iteration spacejava.lang.Exception
InvalidValueException
- if a body evaluates to invalid