org.jscience.computing.ai.expertsystem
Interface ConflictSetListener


public interface ConflictSetListener

The listener interface for receiving conflict set events. The class that is interested in acting in response to some element being added to or removed from the conflict set should implement this interface, and the object created with this class is registered with a rule base, using the addConflictSetListener method. When an element is inserted into the conflict set, that object's elementAdded method is invoked; when an element is removed from the conflict set, that object's elementRemoved method is invoked.


Method Summary
 void elementAdded(ConflictSetEvent e)
          Invoked when an element is added to the conflict set.
 void elementRemoved(ConflictSetEvent e)
          Invoked when an element is removed from the conflict set.
 

Method Detail

elementAdded

void elementAdded(ConflictSetEvent e)
Invoked when an element is added to the conflict set.

Parameters:
e - the conflict set event.

elementRemoved

void elementRemoved(ConflictSetEvent e)
Invoked when an element is removed from the conflict set.

Parameters:
e - the conflict set event.