Package ffx.algorithms
Interface Terminatable
- All Known Implementing Classes:
CrystalMinimize,Minimize,MinimizeOpenMM,MolecularDynamics,MolecularDynamicsOpenMM,PhMinimize,PhReplicaExchange,RefinementMinimize,ReplicaExchange,RotamerOptimization,ScaleBulkMinimize,SigmaAMinimize,SimulatedAnnealing,SplineMinimize
public interface Terminatable
Algorithms that can be gracefully terminated early should implement this interface.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis should be implemented as a blocking interrupt; when the method returns theTerminatablealgorithm has reached a clean termination point.
-
Method Details
-
terminate
void terminate()This should be implemented as a blocking interrupt; when the method returns theTerminatablealgorithm has reached a clean termination point. For example, between minimize or molecular dynamics steps.
-