I could use some help deciphering what exactly (watch out) is telling me. Can someone
shed some light?
I have the following output:
==> Activation: BUNDLING::build-bundle : f-11, f-9,,,,
==> Activation: BUNDLING::build-bundle : f-11, f-10,,,,
<=> f-4 (MAIN::... a rule fired and changed something here)
<== Activation: BUNDLING::build-bundle : f-11, f-9,,,,
<== Activation: BUNDLING::build-bundle : f-11, f-10,,,,
Which brings up a few questions for me:
1. What does a 'Activation' mean? It seems to mean that a rule is being considered and
if all the guards pass the rule will fire. However how much of a guard has to match
before an 'Activation' can happen? In my case above my rule goes something like this:
(defrule BUNDLING::build-bundle
?b <- (bundle (stuff ...))
?child <- (component (stuff ...))
[some more guards that dont use <-]
=>
RHS
)
So it is pretty clear that from the Activation line jess has identified f-11 to match
?b and f-9 to match ?child, but has it considered any of the other guards at this
point? Or does it consider ?c and ?child being matched enough to activate the rule and
saves the evaluation of the rest of the guards for later?
Also, in the Activation line what do the trailing empty commas mean? Do these
represent the rest of the guards in my rule that I don't capture a fact in with <- ?
2. Maybe this will be obvious once I understand exactly what it means for a rule to be
listed as activated, but what does the last two lines in my output mean. Does it mean
it evaluated the rest of the guards in that rule and decided it couldn't fire? Or does
it mean something changed in f-11 and f-9,f-10 such that the rule no longer matched?
Any feedback would be appreciated.
Thanks,
ryan
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------