Good question. They correspond to the different paths taken through
the left-hand-side of a rule with "or" CEs. A rule "rule" with one
two-way "or" gives "rule" and rule&1. A three-way or would also
include "rule&2"., etc.
I -could-, and eventually will, make these invisible, but given the
experimental nature of Jess's support for "or" I think it's best to
expose this behaviour for now.
Note that you should never, for example "(undefrule rule&1)". Calling
(undefrule rule) will also remove rule&1, rule&2, etc.
I think Dhananjay Makwana wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> hi all,
>
> I have 6 different rules written into a text file. I put them into Jess
> environment by doing "batch".
> When I do a rules listing using "(rules)" command I get following listing:
>
> merge-or-and-op
> merge-or-and-selector&1
> merge-or-and-op&1
> remove-childless-op&1
> remove-childless-op
> combine
> remove-duplicate
> merge-non-op
> merge-or-and-selector
> For a total of 9 rules.
>
> I am wondering about the rules ending with "&1". I dont have names like that
> in my rule file. Why and how they are generated ?
>
> Thanks in advance,
>
> - Dhananjay
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
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]
---------------------------------------------------------------------