On 11 November 2010 07:13, Donald Winston <[email protected]> wrote:
> I've got over 25 rules now and am looking at organizing them using modules 
> the way I use to with Blaze's rule sets. If I do this then do I have to 
> prefix all my fact references in my rules with MAIN::?

No, see the Jess manual 6.22.2. Modules, scope, and name resolution

> What I've tried so far is not working. My facts are all in the MAIN module 
> and are not getting modified for some reason even though the Jess IDE I'm 
> using is not complaining.

Check where they really are by calling (facts). This shows the module.

> (I don't see any advantage in assigning the facts to modules) Also, would 
> using an "initialization" rule to set the focus stack be a proper(focus 
> validation analysis navigation)? This would then be the only rule that needs 
> a salience declaration.

This (focus) call may not have to be in a rule, it can be done before
calling (run).

>
> The navigation rules have to execute after the validation rules. Is using 
> modules usually better then using salience?
>

Modules and (focus) are good for an overall flow, in stages. Salience
is better suited for fine-grained precedence.

-W

>
> Donald Paul Winston
> [email protected]
>
>
>
>
>
>
>
> --------------------------------------------------------------------
> 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].
> --------------------------------------------------------------------
>
>


--------------------------------------------------------------------
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