Closed patham9 closed 8 years ago
(generate-conclusions (r/rules :belief) '{:statement [--> [product A B] C] :truth [0.9 0.9] :task-type :belief :occurrence 1000} '{:statement [A] :truth [1 0.9] :task-type :belief :occurrence 1000})
Expected: <A --> (/,C,_,B)>. %1.0;0.9%
<A --> (/,C,_,B)>. %1.0;0.9%
by rule: (* :list/A) --> M) Ai |- (Ai --> (/ M :list/A)) :pre ((:substitute-from-list Ai _) (:contains? (:list/A) Ai)) :post (:t/identity :d/identity)
(* :list/A) --> M) Ai |- (Ai --> (/ M :list/A)) :pre ((:substitute-from-list Ai _) (:contains? (:list/A) Ai)) :post (:t/identity :d/identity)
Same issue with all other product and image related transformation rules in the "; NAL4 - Transformations between products and images" section.
was caused by internal "*" representation instead of "product", resolved thanks to rasom pointing out.
Expected:
<A --> (/,C,_,B)>. %1.0;0.9%
by rule:
(* :list/A) --> M) Ai |- (Ai --> (/ M :list/A)) :pre ((:substitute-from-list Ai _) (:contains? (:list/A) Ai)) :post (:t/identity :d/identity)
Same issue with all other product and image related transformation rules in the "; NAL4 - Transformations between products and images" section.