Hi Ryan,
I am pretty new to Jess, but I will take a stab at answering your
question anyway. ;-) Priority (or salience) attaches to rules, not to
the facts upon which the rules operate. If at a given point multiple
rules are activated, then salience can be used as a way to resolve the
conflict between them: the rule with higher salience gets to fire. But as
it notes in the user manual, doing this kind of thing is not considered
good style, as it is a step away from declarative to procedural
programming, and you start to lose some of the benefits associated with
declarative programming. (Of course, you gain benefits associated with
procedural programming.)
Willie
On Mon, 5 Feb 2001, Ryan Cairns wrote:
>
> Hello Everyone,
>
>
> I'm confused about how you would priortize facts in the JESS
> knowledge base. For instance, in a sheduler, there will be several
> possible jobs to be run on one processor, but I want the job with the
> highest priority to run first. Any suggestions on this? I've only read
> briefly about salience and it doesn't seem clear.
>
> Thanks
>
> -Ryan
>
>
>
>
---------------------------------------------------------------------
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]
---------------------------------------------------------------------