org.jscience.computing.ai.expertsystem.conflict
Class InternalConflictSetEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jscience.computing.ai.expertsystem.conflict.InternalConflictSetEvent
All Implemented Interfaces:
java.io.Serializable

public class InternalConflictSetEvent
extends java.util.EventObject

A semantic event that indicates that an element was added to or removed from a conflict set. This class is used only internally to JEOPS for control purposes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InternalConflictSetEvent(ConflictSet source, ConflictSetElement element)
          Class constructor.
 
Method Summary
 ConflictSetElement getElement()
          Returns the element that was added or removed.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternalConflictSetEvent

public InternalConflictSetEvent(ConflictSet source,
                                ConflictSetElement element)
Class constructor.

Parameters:
source - the conflict set to/from where the element was added/removed.
element - the element that was added or removed.
Method Detail

getElement

public ConflictSetElement getElement()
Returns the element that was added or removed.

Returns:
the element that was added or removed.