org.semwebcentral.sweetrules.sweetjena
Class SweetJenaForwardInferencingTask

java.lang.Object
  extended byorg.semwebcentral.sweetrules.sweetjena.SweetJenaForwardInferencingTask
All Implemented Interfaces:
ISweetInferenceEngineTask

public class SweetJenaForwardInferencingTask
extends java.lang.Object
implements ISweetInferenceEngineTask


This class performs exhaustive brute force inferencing on Jena

Modified on: Sep 3, 2004 7:23:40 PM

Author:
Mike Dean

Field Summary
private  SweetJenaEngine jenaEngine
          The Jena engine
private  ISweetKBDescriptor kbDescriptor
          The KB descriptor on which exhaustive forward inferencing is done
private  Logger logger
          The logger object for this class
 
Constructor Summary
SweetJenaForwardInferencingTask(ISweetKBDescriptor kbDescriptor, SweetJenaEngine engine)
          Constructor for the exhaustive brute force inferencing
 
Method Summary
 java.lang.Object execute()
          Implementation of execute for the exhaustive brute force forward inferencing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kbDescriptor

private ISweetKBDescriptor kbDescriptor
The KB descriptor on which exhaustive forward inferencing is done


jenaEngine

private SweetJenaEngine jenaEngine
The Jena engine


logger

private Logger logger
The logger object for this class

Constructor Detail

SweetJenaForwardInferencingTask

public SweetJenaForwardInferencingTask(ISweetKBDescriptor kbDescriptor,
                                       SweetJenaEngine engine)
Constructor for the exhaustive brute force inferencing

Parameters:
kbDescriptor - The descriptor of the knowledge base to load
engine - The Jena engine to execute forward inferencing on
Method Detail

execute

public java.lang.Object execute()
                         throws SweetInferenceEngineException
Implementation of execute for the exhaustive brute force forward inferencing

Specified by:
execute in interface ISweetInferenceEngineTask
Returns:
The result of doing exhaustive forward inferencing
Throws:
SweetInferenceEngineException - if an error occurs