Interface IterationMonitor<S>
-
- Type Parameters:
S
- the type of an iteration state
- All Known Implementing Classes:
CountMonitor
,IteratesMonitor
,NullMonitor
,VectorMonitor
public interface IterationMonitor<S>
To debug an iterative algorithm, such as inIterativeMethod
, it is useful to keep track of the all states generated in the iterations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addIterate(S s)
Record a new iteration state.
-
-
-
Method Detail
-
addIterate
void addIterate(S s)
Record a new iteration state.- Parameters:
s
- the new iteration state
-
-