|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--KnowledgeBase.PropertyNode
Defines a property node in the knowledge base.
See the dissertation document and KnowledgeBaseParser.jj for complete details.
KnowledgeBase| Field Summary | |
java.lang.String |
property_name
|
PlausibilityInterval |
range
|
java.lang.String |
slot_value
|
int |
type
|
int |
TYPE_RANGE
|
int |
TYPE_SLOT
|
java.lang.String |
UNDEFINED
|
| Constructor Summary | |
PropertyNode(java.lang.String property_name,
PlausibilityInterval plausibility_interval)
Creates a new PropertyNode for a plausibility interval as specified by the knowledge-base parser. |
|
PropertyNode(java.lang.String property_name,
java.lang.String slot_value)
Creates a new PropertyNode for a single slot as specified by the knowledge-base parser. |
|
| Method Summary | |
int |
compareTo(java.lang.Object other_property_node)
Returns the comparison of two property nodes based lexicographically on their property name. |
PropertyNode |
getClone()
Returns a clone of this object. |
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 final int TYPE_SLOT
public final int TYPE_RANGE
public int type
public java.lang.String property_name
public final java.lang.String UNDEFINED
public PlausibilityInterval range
public java.lang.String slot_value
| Constructor Detail |
public PropertyNode(java.lang.String property_name,
java.lang.String slot_value)
See the dissertation document for details on how these parameters are defined and used.
property_name - - the optionally prefixed property nameslot_value - - the simple property value
public PropertyNode(java.lang.String property_name,
PlausibilityInterval plausibility_interval)
See the dissertation document for details on how these parameters are defined and used.
property_name - - the property nameplausibility_interval - - the plausibility interval| Method Detail |
public int compareTo(java.lang.Object other_property_node)
compareTo in interface java.lang.Comparableother_property_node - - the property node to compare
String.compareTo(java.lang.String)public PropertyNode getClone()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||