...@sandia.gov] On Behalf Of Wolfgang Laun
Sent: Sunday, August 14, 2011 2:30 PM
To: jess-users
Subject: JESS: multiple bindings of a multislot
Given
(deftemplate Temp (multislot m))
Cursory tests seem to indicate that a Temp pattern may be written
, 2011 11:22 AM
To: jess-users
Subject: Re: JESS: multiple bindings of a multislot
I solved it by binding the lot: (Temp (m $?mels)) and writing deffunctions
testing all other patterns.
I ran into this while trying to solve the Zebra Puzzle in a way fundamentally
different from the example
Given
(deftemplate Temp (multislot m))
Cursory tests seem to indicate that a Temp pattern may be written with just
a single set of clusters consisting of '?', '$?' and their named cousins. As
an example, it's possible to write
(Temp (m $? one two $?))
but not
(Temp (m $? one two $?)(m
Subject: JESS: multiple bindings of a multislot
Given
(deftemplate Temp (multislot m))
Cursory tests seem to indicate that a Temp pattern may be written with
just a single set of clusters consisting of '?', '$?' and their named cousins.
As an example