org.semwebcentral.sweetrules.infrastructure
Class SweetIEInferenceType

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.SweetIEInferenceType

public class SweetIEInferenceType
extends java.lang.Object

A class to describe the different types inferencing that can be done

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy

Field Summary
static int BACKWARD_CHAINING
          Represents backward chaining
static int FORWARD_CHAINING
          Represents forward chaining
static int INCREMENTAL_FORWARD_CHAINING
          Represents incremental mode
private  int inferenceType
          Actual instance inference type
static int MIXED_CHAINING
          Represents mixed mode
static int UNKNOWN
          Represents the fact the inference type for the engine is unknown
 
Constructor Summary
SweetIEInferenceType(int type)
          Constructor
 
Method Summary
 int getType()
          Returns the type of inference engine
 void setType(int type)
          Sets the inference engine type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
Represents the fact the inference type for the engine is unknown

See Also:
Constant Field Values

BACKWARD_CHAINING

public static final int BACKWARD_CHAINING
Represents backward chaining

See Also:
Constant Field Values

FORWARD_CHAINING

public static final int FORWARD_CHAINING
Represents forward chaining

See Also:
Constant Field Values

MIXED_CHAINING

public static final int MIXED_CHAINING
Represents mixed mode

See Also:
Constant Field Values

INCREMENTAL_FORWARD_CHAINING

public static final int INCREMENTAL_FORWARD_CHAINING
Represents incremental mode

See Also:
Constant Field Values

inferenceType

private int inferenceType
Actual instance inference type

Constructor Detail

SweetIEInferenceType

public SweetIEInferenceType(int type)
Constructor

Parameters:
type - The type of inference engine
Method Detail

getType

public int getType()
Returns the type of inference engine

Returns:
The type of infernceEngine

setType

public void setType(int type)
Sets the inference engine type

Parameters:
type - Type to set