Interface IntervalConsumer<T extends Copyable<T>>
- Type Parameters:
T- The type of object being optimized.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback interface enabling logging, tracking, etc the progress of a timed parallel search.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(int interval, SolutionCostPair<T> bestAtInterval) Fired at each time interval during a parallel search.
-
Method Details
-
accept
Fired at each time interval during a parallel search.- Parameters:
interval- The current time interval index.bestAtInterval- The best solution found up to this interval.
-