Re: JESS: multiple bindings of a multislot

2011-08-16 Thread Wolfgang Laun
...@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

RE: JESS: multiple bindings of a multislot

2011-08-16 Thread Friedman-Hill, Ernest
, 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

JESS: multiple bindings of a multislot

2011-08-15 Thread Wolfgang Laun
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

RE: JESS: multiple bindings of a multislot

2011-08-15 Thread Friedman-Hill, Ernest
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