This is an interesting problem, and I think the best solution depends
on a number of factors: how many rules would have this characteristic
on their LHS? How many patterns on each of these LHSs? And how many
partial matches would you expect per rule?
I think John Hossack wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hello all,
>
> I have a JESS rulebase that is being used in conjunction with an alarm processor
>written in JAVA, which receives incoming alarms and asserts them as facts to JESS.
>The rules are used to generate alarm summaries by matching a series of alarms (facts)
>against the patterns on the LHS of each rule. When the LHS of the rule is completely,
>or partially, matched an alarm summary is output to the JAVA alarm processor.
>
> Enough with the background.
>
> I can get the rules to fire without any problem if every pattern on the LHS is
>matched against alarms in the fact list. However, I also need the rules to fire if
>NOT every pattern has been matched against the rule LHS and a predetermined time
>period has elapsed between the earliest pattern match and the latest. (This indicates
>a summary with missing alarms).
>
> How can I do this? I am wondering if the jess.Token class is one means.
>
> Can anyone advise?
>
> Thanks in advance,
>
> John Hossack
>
> ===========================================
> John Hossack
> ScottishPower Research Fellow
> Centre for Electrical Power Engineering
> University of Strathclyde
> 204 George Street
> Glasgow G1 1XW
>
> Tel: 0141 548 2665
> Fax: 0141 552 2487
> email: [EMAIL PROTECTED]
> WWW: http://www.isap.eee.strath.ac.uk
> ===========================================
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
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]
---------------------------------------------------------------------