@CodeReview(reviewer="Kevin R. Dixon",date="2008-02-08",changesNeeded=false,comments="Class looks fine.") @CodeReview(reviewer="Justin Basilico",date="2006-10-02",changesNeeded=false,comments="Interface is fine.") public interface IterativeAlgorithmListener
IterativeAlgorithmListener
interface defines the events that
are generated by an IterativeAlgorithm
. Events exist for the
beginning/end of the algorithm and the beginning/end of each step of the
iterative algorithm.IterativeAlgorithm
Modifier and Type | Method and Description |
---|---|
void |
algorithmEnded(IterativeAlgorithm algorithm)
This method is called when the algorithm has ended, after the last step
of the algorithm.
|
void |
algorithmStarted(IterativeAlgorithm algorithm)
This method is called when a algorithm has started, before the first
step of the algorithm.
|
void |
stepEnded(IterativeAlgorithm algorithm)
This method is called when the algorithm has ended a step of its
execution.
|
void |
stepStarted(IterativeAlgorithm algorithm)
This method is called when the algorithm has started a step in its
execution.
|
void algorithmStarted(IterativeAlgorithm algorithm)
algorithm
- The algorithm that has started.void algorithmEnded(IterativeAlgorithm algorithm)
algorithm
- The algorithm that has ended.void stepStarted(IterativeAlgorithm algorithm)
algorithm
- The algorithm that has started another step of its execution.void stepEnded(IterativeAlgorithm algorithm)
algorithm
- The algorithm that has ended another step of its execution.