When I load a CLIPS program, I see the following output:
-------------------------------------------------------
CLIPS (V6.22 06/15/04)
CLIPS> (load "C:/Documents and Settings/Administrator/Desktop/clips/clips-example.clp")
Defining deftemplate: person
Defining deffacts: myFiriends
Defining defrule: find-blue-eyes +j
TRUE
CLIPS>
-----------------------------------
My question is: What does +J indicate in the last but one line of the output above?
Thanks very much.
Sincerely,
Ash
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Each pattern in a rule creates a "join" in the rete network which is used to constrain the common variables bound across patterns. Sometimes joins can be shared by multiple rules. When you see +j that signifies a new join was created. When you see =j that signifies that an existing join was reused.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I load a CLIPS program, I see the following output:
-------------------------------------------------------
CLIPS (V6.22 06/15/04)
CLIPS> (load "C:/Documents and Settings/Administrator/Desktop/clips/clips-example.clp")
Defining deftemplate: person
Defining deffacts: myFiriends
Defining defrule: find-blue-eyes +j
TRUE
CLIPS>
-----------------------------------
My question is: What does +J indicate in the last but one line of the output above?
Thanks very much.
Sincerely,
Ash
Each pattern in a rule creates a "join" in the rete network which is used to constrain the common variables bound across patterns. Sometimes joins can be shared by multiple rules. When you see +j that signifies a new join was created. When you see =j that signifies that an existing join was reused.
Thanks so much, Gary. I much appreciate your prompt reply.
Regards,
Ashraf