iw.model
Interface IWAgent

All Superinterfaces:
IWModelElement, IWProvenanceElement
All Known Subinterfaces:
DBAgent, OWLAgent

public interface IWAgent
extends IWProvenanceElement

This models the provenance information for the inference engines registered in IWBase. An inference engine represents an engine that is able to produce a justification for a conclusion. Note that the phrase "inference engine" applies not only to reasoners but also to other systems like search engines which may justify their answers by direct assertion


Method Summary
 void addInferenceEngine(IWInferenceEngine newIE)
          Adds the speified inference engine to the list of inference engines used by the agent
 java.lang.String getClassName()
          Returns the OWL class name of the agent
 IWInferenceEngine getInferenceEngine(java.lang.String _IEShortName)
          Returns the inference engine with the short name _IEShortName.
 java.lang.String[] getInferenceEngineNames()
          Returns an array of strings corresponding to the name of the inference engines used by the agent
 java.util.List getInferenceEngines()
          Returns a list of the inference engines used by the agent
 void setInferenceEngines(java.util.List newIEs)
          Sets the list of inference engines used by the agent
 
Methods inherited from interface iw.model.IWProvenanceElement
addSource, getEnglishDescription, getEnglishExample, getFileName, getFullName, getShortName, getSourceNames, getSources, getSourceURIs, getSubmitter, getSubmitterName, getURL, setEnglishDescription, setEnglishExample, setFileName, setFullName, setShortName, setSources, setSubmitter, setURL
 
Methods inherited from interface iw.model.IWModelElement
getFirstSubmissionDate, getLastSubmissionDate, getModel, getURI, setFirstSubmissionDate, setLastSubmissionDate, setModel, setURI
 

Method Detail

getInferenceEngines

public java.util.List getInferenceEngines()
Returns a list of the inference engines used by the agent

Returns:
a list of the inference engines used by the agent

getInferenceEngine

public IWInferenceEngine getInferenceEngine(java.lang.String _IEShortName)
Returns the inference engine with the short name _IEShortName.

Parameters:
_IEShortName - the short name of the desired inference engine
Returns:
an IWInferenceEngine instance corresponding to the engine with short name _IEShortName

getInferenceEngineNames

public java.lang.String[] getInferenceEngineNames()
Returns an array of strings corresponding to the name of the inference engines used by the agent

Returns:
an array of strings corresponding to the name of the inference engines used by the agent

setInferenceEngines

public void setInferenceEngines(java.util.List newIEs)
Sets the list of inference engines used by the agent

Parameters:
newIEs - a new list of the inference engines used by the agent

addInferenceEngine

public void addInferenceEngine(IWInferenceEngine newIE)
Adds the speified inference engine to the list of inference engines used by the agent

Parameters:
newIE - the new inference engine to be added to the list of inference engines used by the agent

getClassName

public java.lang.String getClassName()
Returns the OWL class name of the agent

Returns:
the OWL class name of the agent


Copyright 2006 Inference Web group, All Rights Reserved.