|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Models inference steps within the inference web. An inference step represent a justification of the conclusion of a node set by the application of an inference rule.
| Method Summary | |
void |
addAntecedent(java.lang.String newAntecedent)
Adds the specified antecedent URI to the list of antecedents of the inference step. |
void |
addAntecedentNode(IWNodeSet newAntecedent)
Adds the specified antecedent node set (not URI) to the list of antecedents of the inference step. |
void |
addDischarge(java.lang.String newDischarge)
Adds the specified assumption to the list of discharged assumptions. |
void |
addMetaBinding(IWMetaBinding newMetaBinding)
|
void |
addQuery(java.lang.String newQuery)
PROBLEM |
void |
addSourceUsage(IWSourceUsage newSourceUsage)
PROBLEM |
void |
addVariableMapping(IWVariableMapping newVariableMapping)
Adds the specified variable mapping to the list of variable mappings for the inference step. |
java.lang.String |
getAnswer()
PROBLEM |
java.util.List |
getAntecedentNodes()
Returns the list of antecedent node sets (not URIs) of the inference step. |
java.util.List |
getAntecedents()
Returns the list of antecedent node set URIs of the inference step |
java.util.List |
getDischarges()
Returns a list of assumptions that are discharged by the inference step. |
int |
getIndex()
|
IWInferenceEngine |
getInferenceEngine()
Returns the inference engine that produced the inference step |
IWInferenceRule |
getInferenceRule()
Returns the inference rule applied in the inference step |
java.util.List |
getMetaBindings()
|
java.util.List |
getQueries()
PROBLEM |
java.lang.String |
getShortName()
PROBLEM |
java.util.List |
getSourceUsages()
PROBLEM |
java.util.List |
getVariableMappings()
Returns the list of variable mappings for the inference step. |
void |
setAnswer(java.lang.String newAnswer)
PROBLEM |
void |
setAntecedentNodes(java.util.List newAntecedents)
Sets the list of antecedent node sets (not URIs) of the inference step. |
void |
setAntecedents(java.util.List newAntecedents)
Sets the list of antecedent node set URIs of the inference step. |
void |
setDischarges(java.util.List newDischarges)
Sets the list of assumptions that are discharged by the inference step. |
void |
setIndex(int newIndex)
|
void |
setInferenceEngine(IWInferenceEngine newInferenceEngine)
Sets the inference engine that produced the inference step |
void |
setInferenceRule(IWInferenceRule newInferenceRule)
Sets the inference rule applied in the inference step |
void |
setMetaBindings(java.util.List newMetaBindings)
|
void |
setQueries(java.util.List newQueries)
PROBLEM |
void |
setShortName(java.lang.String newShortName)
PROBLEM |
void |
setSourceUsages(java.util.List _newSourcesUsed)
PROBLEM |
void |
setVariableMappings(java.util.List newVariableMappings)
Sets the list of variable mappings for the inference step. |
| Method Detail |
public IWInferenceRule getInferenceRule()
public void setInferenceRule(IWInferenceRule newInferenceRule)
newInferenceRule - the new inference rule applied in the inference steppublic IWInferenceEngine getInferenceEngine()
public void setInferenceEngine(IWInferenceEngine newInferenceEngine)
newInferenceEngine - the new inference engine that produced the inference steppublic java.util.List getAntecedents()
public void setAntecedents(java.util.List newAntecedents)
newAntecedents - the new list of antecedent node set URIs of the inference steppublic void addAntecedent(java.lang.String newAntecedent)
newAntecedent - the URI of the new antecedent for the inference steppublic java.util.List getAntecedentNodes()
public void setAntecedentNodes(java.util.List newAntecedents)
newAntecedents - the new list of antecedent node sets of the inference steppublic void addAntecedentNode(IWNodeSet newAntecedent)
newAntecedent - an IWNodeSet instance corresponding to the new antecedent for the inference steppublic java.util.List getDischarges()
public void setDischarges(java.util.List newDischarges)
newDischarges - the new list of assumptions that are discharged by the inference steppublic void addDischarge(java.lang.String newDischarge)
newDischarge - the new assumption which is to be added to the list of discharged assumptionpublic java.util.List getVariableMappings()
public void setVariableMappings(java.util.List newVariableMappings)
newVariableMappings - the new list of variable mappinfs for the inference steppublic void addVariableMapping(IWVariableMapping newVariableMapping)
newVariableMapping - the new variabl mapping for the inference steppublic int getIndex()
public void setIndex(int newIndex)
public java.util.List getMetaBindings()
public void setMetaBindings(java.util.List newMetaBindings)
public void addMetaBinding(IWMetaBinding newMetaBinding)
public java.util.List getSourceUsages()
public void setSourceUsages(java.util.List _newSourcesUsed)
public void addSourceUsage(IWSourceUsage newSourceUsage)
public java.util.List getQueries()
public void setQueries(java.util.List newQueries)
public void addQuery(java.lang.String newQuery)
public java.lang.String getAnswer()
public void setAnswer(java.lang.String newAnswer)
public java.lang.String getShortName()
public void setShortName(java.lang.String newShortName)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||