予定义的类与用于槽的受限选择: (defclass TARGET (is-a USER)
(slot uuid
(type STRING))
(slot function
(type SYMBOL)
(allowed-symbols a1 a2 b c d e f g))
)
(make-instance target of TARGE
,以便找到一个事实,我现在用的是CLIPS API EnvEval鉴于其关系工作: auto expression = "(find-all-facts ((?f system)) TRUE)";
DATA_OBJECT outputValue;
auto res = EnvEval(pEnvironment, expression, &outputValue);
return res;
有没有方法在CLIPS中输出已解除规则的名称? 实施例: (defrule this-is-my-rule
...
=>
(printout t "this-is-my-rule: and these are the outputs" crlf) ;;#1
)
除了手动写入#1中的规则的名称的,我想使用一个psecific命令(如果有的话)。 请