Package ffx.algorithms
Interface AlgorithmListener
- All Known Implementing Classes:
ModelingShell
,RefinementEnergy
public interface AlgorithmListener
The AlgorithmListener will be notified at regular intervals during an algorithm. This interface
is useful for updating the user interface or terminating the algorithm.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Method Summary
Modifier and TypeMethodDescriptionboolean
algorithmUpdate
(MolecularAssembly active) After a successful step or interval of an algorithm, this method of the listener will be called.
-
Method Details
-
algorithmUpdate
After a successful step or interval of an algorithm, this method of the listener will be called.- Parameters:
active
- The system the algorithm is operating on.- Returns:
- A return of
true
indicates the algorithm continues.
-