org.semwebcentral.sweetrules.infrastructure
Interface ISweetIERepository

All Known Implementing Classes:
AbstractSweetIERepository

public interface ISweetIERepository

This interface provides an abstraction of an inference engine

TODO: 1) Enhance find by having criteria like KBs, their version etc. Will have to handle indirect inferencing case too. 2)

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

Method Summary
 void addInferenceEngine(ISweetInferenceEngine inferenceEngine)
          Adds an inference engine to the repository
 ISweetInferenceEngine[] getAllInferenceEngines()
          Returns all the available inference engines
 ISweetInferenceEngine getInferenceEngine(ISweetIEDescriptor descriptor)
          Gets an IIEDescriptor corresponding to a given name
 

Method Detail

addInferenceEngine

public void addInferenceEngine(ISweetInferenceEngine inferenceEngine)
Adds an inference engine to the repository

Parameters:
inferenceEngine - The inference engine to be added

getAllInferenceEngines

public ISweetInferenceEngine[] getAllInferenceEngines()
Returns all the available inference engines

Returns:
All the available inference engines

getInferenceEngine

public ISweetInferenceEngine getInferenceEngine(ISweetIEDescriptor descriptor)
Gets an IIEDescriptor corresponding to a given name

Parameters:
descriptor - The descriptor of the IE which is to be retrieved
Returns:
The IE descriptor matching the name