|
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 =========================================== |
- Re: JESS: Partial Matches John Hossack
- Re: JESS: Partial Matches ejfried
