0
我想检查是否已经存在相同的实例或不。杰斯multislot值匹配忽略订单
(defemplate justificand (slot consq) (multislot antes))
(assert (justificand (consq s) (antes p q r))) ;;; order p q r
(defrule test
(exists (justificand (consq s) (antes q p r))) ;;; order q p r
=>
(printout t "matching success " crlf))
以我为例,我主张用(前注p q R),但P,Q和R的顺序 并不重要一justificand。因此,即使用(antes q p r)进行测试,测试规则也需要成功。
但是,jess似乎考虑多时隙值的匹配顺序。
任何忽略多槽值匹配顺序的方法?
感谢
非常感谢!我很感谢您的帮助! – youngtackpark