clarion.system
Interface InterfaceHandlesFeedbackWithTime

All Superinterfaces:
InterfaceHandlesFeedback
All Known Implementing Classes:
AbstractFixedRule, AbstractIRLRule, AbstractRule, RefineableRule

public interface InterfaceHandlesFeedbackWithTime
extends InterfaceHandlesFeedback

This interface is implemented by classes that handle feedback with a time stamp within CLARION. It extends the InterfaceHandlesFeedback interface.

Usage:

Any class that implements this interface will be delivered feedback by CLARION when feedback is received. In addition, the current time stamp will be provided to the class for internal purposes not directly related to the handling of feedback. Most often, the time stamp is used to record the exact time when a match occurred.

Known classes implementing this interface:

Version:
6.0.4
Author:
Nick Wilson

Method Summary
 boolean checkMatchCriterion(long TimeStamp)
          Checks to see if a match criterion has been obtained.
 
Methods inherited from interface clarion.system.InterfaceHandlesFeedback
checkMatchCriterion, getFeedback, setFeedback
 

Method Detail

checkMatchCriterion

boolean checkMatchCriterion(long TimeStamp)
Checks to see if a match criterion has been obtained. This match criterion is used separately from the match statistics. Depending on how it is implemented, it can be used either for matching inputs or for deciding if extraction should occur (along with other possibilities).

The time stamp is not necessarily used for criterion matching, but instead to provide a time stamp for remember the exact time that the criterion was matched.

Parameters:
TimeStamp - The current time stamp.
Returns:
True if the match criterion has been met, otherwise false.