org.jscience.computing.ai.expertsystem
Interface RuleFireListener


public interface RuleFireListener

The listener interface for receiving rule fire events. The class that is interested in acting in response to some rule being fired should implement this interface, and the object created with this class is registered with a rule base, using the addRuleFireListener method. When a rule is about to be fired, that object's ruleFiring method is invoked; when a rule is fired, that object's ruleFired method is invoked.


Method Summary
 void ruleFired(RuleEvent e)
          Invoked right after a rule is fired.
 void ruleFiring(RuleEvent e)
          Invoked right before a rule is fired.
 

Method Detail

ruleFired

void ruleFired(RuleEvent e)
Invoked right after a rule is fired.

Parameters:
e - the rule event.

ruleFiring

void ruleFiring(RuleEvent e)
Invoked right before a rule is fired.

Parameters:
e - the rule event.