How should I dispose side effect ?
"张宁" <[email protected]> Mon, 26 Nov 2007 11:50:11 +0800
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <[email protected]> |
hello ,
I find Powerloom is able to new a few of objects and persist it into
memory when I execute retrieve command .
Such as :
PL-USER |= (defconcept person)
|c|PERSON
PL-USER |= (defrelation age ((?x person)(?y integer)))
|r|AGE
PL-USER |= (defrule xxx (=> (person ?x) (age ?x 1)))
|P|(FORALL (?x)
(<= (AGE ?x 1)
(PERSON ?x)))
PL-USER |= (assert (person p))
|P|(PERSON P)
PL-USER |= (retrieve all (age ?x ?y))
There is 1 solution:
#1: ?X=P, ?Y=1
PL-USER |= (retrieve all (age ?x ?y))
There is 1 solution:
#1: ?X=P, ?Y=1
Powerloom make a duplicate of xxx's description ,save it in it's
homeModule's dynamicSlot and xxx's description for more retrieve when I
first execute retrieve command about relation age .
I want Powerloom not save the duplicate into memory .How should I
dispose this side effect ?
Thanks
_______________________________________________
powerloom-forum mailing list
[email protected]
http://mailman.isi.edu/mailman/listinfo/powerloom-forum