clipspy-1.0.0/clips/agenda.py
def _assert_is_active(self):
        """As the engine does not provide means to find activations,
        the existence of the pointer in the activations list is tested instead.

        """
        activations = []
        activation = lib.GetNextActivation(self._env, ffi.NULL)

        while activation != ffi.NULL:
            activations.append(activation)
            activation = lib.GetNextActivation(self._env, activation)

        if self._act not in activations:
            raise CLIPSError(
                self._env, "Activation %s not in the agenda" % self.name)
As the engine does not provide means to find activations,
        the existence of the pointer in the activations list is tested instead.

        
As the engine does not provide means to find activations,
the existence of the pointer in the activations list is tested instead.
As the engine does not provide means to find activations the existence of the pointer in the activations list is tested instead .
def _assert_is_active(self):
        activations = []
        activation = lib.GetNextActivation(self._env, ffi.NULL)
        while activation != ffi.NULL:
            activations.append(activation)
            activation = lib.GetNextActivation(self._env, activation)
        if self._act not in activations:
            raise CLIPSError(
                self._env, "Activation %s not in the agenda" % self.name)
def _assert_is_active ( self ) : activations = [ ] activation = lib . GetNextActivation ( self . _env , ffi . NULL ) while activation != ffi . NULL : activations . append ( activation ) activation = lib . GetNextActivation ( self . _env , activation ) if self . _act not in activations : raise CLIPSError ( self . _env , "Activation %s not in the agenda" % self . name )
As the engine does not provide means to find activations,
the existence of the pointer in the activations list is tested instead.
As the engine does not provide means to find activations the existence of the pointer in the activations list is tested instead .
"""As the engine does not provide means to find activations,
        the existence of the pointer in the activations list is tested instead.

        """
self