Re: JESS: Central data storage for multiople Jess instances

2005-10-05 Thread ejfried
I think Bogdan Werth wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Hello everybody, > I working on the model from the field of social simulation. I am using RePast and Jess to make my agents think in a declarative way. At the moment I have a separate Jess instance for every agent

Re: JESS: Firing on subsets (again)

2005-10-05 Thread ejfried
I think Jerome Butchergreen wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Thanks again Alan and I understand what your saying, > but the fields where the blank values will be unknown. You need to think clearlt about what you're trying to accomplish. I think on reflection you'll

Re: JESS: Firing on subsets (again)

2005-10-05 Thread Jerome Butchergreen
Thanks again Alan and I understand what your saying, but the fields where the blank values will be unknown. Therefore to allow any of them to be random I would have to make a useless rule using ? as the varible for everything but the actual service. So even though we would like to match to empty fi

Re: JESS: Firing on subsets (again)

2005-10-05 Thread Alan Moore
Jerome, You can match against ordered facts like so: (defrule myRule (first second ? fourth fifth ? seventh) => (printout t "Rule fired") ) What this does is to match any of the following facts: (assert (first second dontcare fourth fifth dontcare seventh)) (assert (first second anything

Re: JESS: Problem with definstance

2005-10-05 Thread ejfried
I think David Firmin wrote: > > Hi, > Thanks for this, although I'm still missing something I think. > > The Order class I'm trying to define as an instance does have accessors and > modifiers for all its properties, including the two defined on the > superclass deftemplate that's already been cr

JESS: Firing on subsets (again)

2005-10-05 Thread Jerome Butchergreen
Hey guys I tried your advise but was unsuccessful. Alan, I really thought your method would do exactly what I was trying to accomplish, but I thought that you were saying to assert that line ...as opposed to the '?' being in the rule itself. Here's what I'm trying to do: (MAIN::webservice (serv

Re: JESS: Jess DE & JSR-94

2005-10-05 Thread Erich Oliphant
Great thanks for the info was reading about it in Jess in action which was of course written for v6 -Original Message- From: [EMAIL PROTECTED] Date: Wed, 5 Oct 2005 05:53:04 To:jess-users@sandia.gov Subject: Re: JESS: Jess DE & JSR-94 I think erich.oliphant wrote: > Hi, > We are using th

JESS: Central data storage for multiople Jess instances

2005-10-05 Thread Bogdan Werth
Hello everybody, I working on the model from the field of social simulation. I am using RePast and Jess to make my agents think in a declarative way. At the moment I have a separate Jess instance for every agent (300 agents = 300 Rete instances). I was just wondering if it is possible to have s

Re: JESS: Problem with definstance

2005-10-05 Thread David Firmin
Hi, Thanks for this, although I'm still missing something I think. The Order class I'm trying to define as an instance does have accessors and modifiers for all its properties, including the two defined on the superclass deftemplate that's already been created in the Rete. Given this, I'm still a

Re: JESS: Problem with definstance

2005-10-05 Thread ejfried
I think David Firmin wrote: > I'm trying to create shadow facts that subclass a deftemplate that's > already been added to the Rete. When I try and add the java bean using > definstance I get a ClassCastException as follows: > > java.lang.ClassCastException > at jess.DefinstanceList.createN

Re: JESS: Jess DE & JSR-94

2005-10-05 Thread ejfried
I think erich.oliphant wrote: > Hi, > We are using the JSR-94 interface but would like to use JessDE for > debugging,etc. Will jessDE support the XML formatted files required by the > JSR-94 interface ? There are two JSR94 drivers. There's the reference implementation that comes with the JSR94 pa

JESS: Problem with definstance

2005-10-05 Thread David Firmin
Hi, I'm sure this is a trivial error and I'm going to kick myself when someone tells me what I've done wrong, but here goes anyway: I'm trying to create shadow facts that subclass a deftemplate that's already been added to the Rete. When I try and add the java bean using definstance I get a ClassC