Hi Jena folks,

since I need to use Jena with its RETEEngine, I’m actually investigating what 
is actually feasible / usable with this engine functionalities.

I would like to develop my own BuiltIn, used in the head of a forward rule, and 
doing some actions when a new rule context appears (due to triples adding) for 
the body rule, while doing some other actions when a rule context disappears 
(dur to triples removal) for this body rule.

It appears in the RETEConflictSet (line 180) that a BuiltIn can receive only … 
added RETERuleContext. Hence a BuiltIn action can only be called when a 
RETERuleContext is added, never when a RETERuleContext is removed.

Is their a reason for that ?

Would it be possible to add in the context whether it’s a context added or 
removed, and to call the BuiltIn head action in both cases ?

Thanks,

Chris.


: : . . . . . . . . . . . . . . . . . . . . . . . : :
Christophe FAGOT, PhD
Responsable R&D informatique

intactile DESIGN
: : Création d’interfaces subtiles : :
+33 (0)4 67 52 88 61
+33 (0)9 50 12 05 66
20 rue du carré du roi
34000 MONTPELLIER,  France
http://www.intactile.com

Hugh MacLeod : "It's not what the software does, it's what the user does"

Les informations contenues dans cet email et ses documents attachés sont 
confidentielles. Elles sont exclusivement adressées aux destinataires 
explicitement désignés ci-dessus et ne peuvent être divulguées sans 
consentement de son auteur. Si vous n'êtes pas le destinataire de cet email 
vous ne devez pas employer, révéler, distribuer, copier, imprimer ou 
transmettre le contenu de cet email et devez le détruire immédiatement.












Reply via email to