JESS: code works from java but not clp file

2005-10-11 Thread Scott Moss
I have been building an agent based model in parallel directly from Jess (in Eclipse) and from Java. The method that causes the jess (but not Java) error is inherited from the MarketAgent superclass. Code that works in Java but not Jess is this: public class User extends MarketAgent {

JESS: multiple shadow fact templates

2005-11-02 Thread Scott Moss
I tried to have two definstance calls on the same Java class. Specifically, (defclass market Market) (defclass agent TradingAgent) (defclass producer TradingAgent) Instances of class Market have two public members: agentsList and producersList where the latter is a subset of the former.

Re: JESS: multiple shadow fact templates

2005-11-02 Thread Scott Moss
[EMAIL PROTECTED] wrote: If the defrules are ordered as above, then no shadow facts are created for producer. If the producers rule is defined first, then three producers shadowfacts are created followed by seven agents shadow facts. Is it the case that there cannot be two points to a

JESS: backward compatibility issue with Eclipse in Jess 7.0b4

2005-11-03 Thread Scott Moss
I have found that if I replace an earlier Jess7.0b[2-3] with the 7.0b4 jar in the jre/lib/ext folder, then Eclipse uses the new version and programs run fine from Eclipse and also from command line. If I then install the new Jess plugin and features folders for Eclipse, then running the same

Re: JESS: multiple shadow fact templates

2005-11-03 Thread Scott Moss
outputs? [EMAIL PROTECTED] wrote: I think Scott Moss wrote: The order in which rules are fired depends first on the conflict resolution strategy, but if two rules are of equal priority by that criterion, then they'll fire in an arbitrary order that just falls out of the Rete network

Re: JESS: backward compatibility issue with Eclipse in Jess 7.0b4

2005-11-03 Thread Scott Moss
Ignore the last email, please. I forgot to start from command line with the -clean switch. Scott Moss wrote: I have found that if I replace an earlier Jess7.0b[2-3] with the 7.0b4 jar in the jre/lib/ext folder, then Eclipse uses the new version and programs run fine from Eclipse and also