(self, physics)
Terminates when the state norm is smaller than epsilon.
Terminates when the state norm is smaller than epsilon.
Terminates when the state norm is smaller than epsilon .
def get_termination(self, physics):
    """Terminates when the state norm is smaller than epsilon."""
    if physics.state_norm() < self._TERMINAL_TOL:
      return 0.0
def get_termination ( self , physics ) : if physics . state_norm ( ) < self . _TERMINAL_TOL : return 0.0