Activations

Help
Alberto
2004-11-09
2013-04-25
  • Alberto
    Alberto
    2004-11-09

    Hi!
    how can I see the activations ocurred in the clips module? The documentation says that you can't create an activation object, but doesn't say nothing about how to fetch the activations clips creates.

    Regards,
    Alberto

     
    • The CLIPS API does not provide access to the activation list, thus there is no ActivationList() function in PyCLIPS. By the way it would not be in CLIPS style to supply it (generally YxxxList() functions just return *names* of entities). However, PyCLIPS has an InitialActivation() and an Activation.Next() function, which you can use to walk the Activation list. At the moment this is the only way to perform this task.