I think Xavier Noria wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> 
> >From your comment and the manual I think I am getting the picture: Is 
> Jess meant to be used like this?
> 
>     - Assert initial facts, rules, etc.
>     - run
> 
> where run makes somehow changes in the knowledge base via asserts in the 
> RHSs and so several runs fire rules? It's like the idea is that you are 
> expected to keep a unique instance of the the engine which makes the 
> knowledge base evolve.

Yes, this is the scenario for which Jess is optimized. You can use it
in a "one-shot" style, but you get more benefits from having
long-lasting rule engine instances.


> 
> If that was case I need to rethink the approach we are evaluating.
> 
> Our aim was to implement part of the behaviour of agents as (a very 
> vague idea of) "rules". For the sake of flexibility we would implement 
> different profiles of behavious in text files with Jess code. The set 
> up of the model would instantiate populations (say, 20% with that 
> behaviour, 15% with that other and so on). In each tick of time the 
> state of the model and agents (running all in a single virtual machine) 
> would change as a result of applying them (and probably some further 
> pure Java code). Each set of rules could potentially be different for 
> each individual. And the sets could change between executions.
> 
> Does that make any sense?
> 


Yes, and there's no problem there: you can add and remove rules from a
running Jess engine; i.e. the rule engine can "learn" as it runs.


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to