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 Type
    Method
    Description
    void
    This should be implemented as a blocking interrupt; when the method returns the Terminatable algorithm has reached a clean termination point.
  • Method Details

    • terminate

      void terminate()
      This should be implemented as a blocking interrupt; when the method returns the Terminatable algorithm has reached a clean termination point. For example, between minimize or molecular dynamics steps.