def delete(self): """Remove the activation from the agenda.""" if lib.EnvDeleteActivation(self._env, self._act) != 1: raise CLIPSError(self._env) self._env = None
def clear(self): """Deletes all activations in the agenda.""" if lib.EnvDeleteActivation(self._env, ffi.NULL) != 1: raise CLIPSError(self._env)