jcreek.reasoning
Class ReasoningUpdateEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjcreek.reasoning.ReasoningUpdateEvent
All Implemented Interfaces:
java.io.Serializable

public class ReasoningUpdateEvent
extends java.util.EventObject

An object of this class represents an event in a reasoning step.

Version:
1.0
Author:
Frode Sørmo
See Also:
Serialized Form

Field Summary
static int REASONING_ABORTED
          Creates a new ReasoningUpdateEvent originating from the source of the given type (see static final constants).
static int REASONING_STATECHANGED
           
static int REASONING_UPDATESTARTED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReasoningUpdateEvent(CBRReasoningStep source, int eventType)
           
 
Method Summary
 CBRReasoningStep getReasoningStep()
          Returns the source of this event (a CBRReasoningStep instance)
 int getType()
          Returns the type of event this is.
 
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
 

Field Detail

REASONING_ABORTED

public static final int REASONING_ABORTED
Creates a new ReasoningUpdateEvent originating from the source of the given type (see static final constants).

See Also:
Constant Field Values

REASONING_UPDATESTARTED

public static final int REASONING_UPDATESTARTED
See Also:
Constant Field Values

REASONING_STATECHANGED

public static final int REASONING_STATECHANGED
See Also:
Constant Field Values
Constructor Detail

ReasoningUpdateEvent

public ReasoningUpdateEvent(CBRReasoningStep source,
                            int eventType)
Method Detail

getType

public int getType()
Returns the type of event this is.


getReasoningStep

public CBRReasoningStep getReasoningStep()
Returns the source of this event (a CBRReasoningStep instance)



Created at IDI, NTNU by the Artificial Intelligence and Learning group