|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@CodeReviews(reviews={@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 IterativeAlgorithm
The IterativeAlgorithm interface defines the functionality of a
algorithm that works through multiple iteration steps in order to perform
its computation. It can add listeners to the algorithm that are notified
at the beginning/end of the algorithm and the beginning/end of each step of
the algorithm.
| Method Summary | |
|---|---|
void |
addIterativeAlgorithmListener(IterativeAlgorithmListener listener)
Adds a listener for the iterations of the algorithm. |
int |
getIteration()
Gets the current number of iterations executed by this algorithm since its it was started. |
void |
removeIterativeAlgorithmListener(IterativeAlgorithmListener listener)
Removes a listener for the iterations of the algorithm. |
| Method Detail |
|---|
int getIteration()
void addIterativeAlgorithmListener(IterativeAlgorithmListener listener)
listener - The listener to add.void removeIterativeAlgorithmListener(IterativeAlgorithmListener listener)
listener - The listener to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||