Stephene et al,
As Jason pointed out about salience being used sparingly, there is
one other heuristic: "If you have more then three levels of salience/
priority then your problem may be better suited for a procedural
language." Just a thought... Also, if the rules MUST be done in
order, then it's a procedural problem. Thinking declaratively is
difficult at first but becomes easier as you go along the path to
enlightenment. :-)
SDG
jco
"Large organizations exist primarily for the benefit of the large
corporation. Whether it be the government (at any level) or a
religious organization, such as a church or philanthropic
organization. They exist NOT for the benefit of the customer, the
personnel who work there nor for the public - even though a mantra to
that effect that might be in their organizational statement. Depend
on it; when push comes to shove, the little guy loses out. Every time."
On Aug 16, 2006, at 1:57 AM, Stephane Bailliez wrote:
Hi all,
I'm (very) slowly getting up to speed with experts systems (and
jess) and I have a few general questions around it...
I have actually a lot more but will try to do my homework more
before :)
Nonetheless, here are my concerns:
I have rules where order is (or seems) to be a concern. Actually in
the real world the priority that is set is purely human at the
moment.. rules are valid for a certain period of time within the
system and their priority depends on estimation of the initial
weight that we want this rule selection to have in the whole system
and an additional weight that is to be increased (at this time
manually) depending on how well the result of this rule is
represented in the system and how close it is before end date.
I basically have to pick up a list of 10 matches every once in a
while, (even though I may have 100 matching). And I can assume for
now the result is sorted in term of priority.
So my question is:
- Is salience a good place to mess with for this sort of 'priority'
function ?
I was thinking basically to try to set the salience depending on
the priority so could expect to get the 10 one quite immediately.
Reading JIA, documentation, etc...seems to indicate it would be
better to stay away from that. correct ?
- Should I simply assume that every match adds information to a
multislot and that I try to come up with another rule that is
arranging elements in the multislot based on priority ?
(I have no clue how to do that yet)
Cheers,
Stephane
--------------------------------------------------------------------
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 owner-jess-
[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]
--------------------------------------------------------------------