|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--KnowledgeBase.InferenceNode
Defines an inference node in the knowledge base.
See the dissertation document and KnowledgeBaseParser.jj for complete details.
KnowledgeBase| Field Summary | |
java.util.ArrayList |
dependency_formal_parameters
|
java.lang.String |
inference_name
|
boolean |
is_attribute_inference_otherwise_relationship
|
java.util.ArrayList |
parameters
|
| Constructor Summary | |
InferenceNode(java.lang.String inference_name)
Creates a new InferenceNode for an attribute as specified by the knowledge-base parser. |
|
InferenceNode(java.lang.String inference_name,
java.util.ArrayList parameters)
Creates a new InferenceNode for a relationship as specified by the knowledge-base parser. |
|
| Method Summary | |
int |
compareTo(java.lang.Object other_inference_node)
Returns the comparison of two inference nodes based lexicographically on their inference name. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String inference_name
public boolean is_attribute_inference_otherwise_relationship
public java.util.ArrayList parameters
public java.util.ArrayList dependency_formal_parameters
| Constructor Detail |
public InferenceNode(java.lang.String inference_name)
See the dissertation document for details on how these parameters are defined and used.
public InferenceNode(java.lang.String inference_name,
java.util.ArrayList parameters)
See the dissertation document for details on how these parameters are defined and used.
parameters - - the relationship parameters| Method Detail |
public int compareTo(java.lang.Object other_inference_node)
compareTo in interface java.lang.Comparableother_inference_node - - the inference node to compare
String.compareTo(java.lang.String)public java.lang.String toString()
toString in class java.lang.ObjectSupport.toPrettyString(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||