|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--KnowledgeBase.AttributeIntervalNode
Defines an attribute-interval node in the knowledge base.
See the dissertation document and KnowledgeBaseParser.jj for complete details.
KnowledgeBase| Field Summary | |
static double |
DEFAULT_ADJUSTMENT
|
java.util.ArrayList |
dimension_properties
|
double |
lower_bound_adjustment
|
java.lang.String |
lower_bound_attribute_name
|
double |
upper_bound_adjustment
|
java.lang.String |
upper_bound_attribute_name
|
| Constructor Summary | |
AttributeIntervalNode(java.lang.String lower_bound_attribute_name,
double lower_bound_adjustment,
java.lang.String upper_bound_attribute_name,
double upper_bound_adjustment,
java.util.ArrayList dimension_properties)
Creates a new AttributeIntervalNode as specified by the knowledge-base parser. |
|
AttributeIntervalNode(java.lang.String lower_bound_attribute_name,
java.lang.String upper_bound_attribute_name,
java.util.ArrayList dimension_properties)
Creates a new AttributeIntervalNode as specified by the knowledge-base parser. |
|
| Method Summary | |
int |
compareTo(java.lang.Object other_attribute_interval_node)
Returns the comparison of two attribute-interval nodes based lexicographically on their lower-bound attribute. |
int |
getAttributeBoundCode(java.lang.String attribute_name)
Returns whether an attribute name refers to the lower or upper bound of this interval. |
AttributeIntervalNode |
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 java.lang.String lower_bound_attribute_name
public java.lang.String upper_bound_attribute_name
public static double DEFAULT_ADJUSTMENT
public double lower_bound_adjustment
public double upper_bound_adjustment
public java.util.ArrayList dimension_properties
| Constructor Detail |
public AttributeIntervalNode(java.lang.String lower_bound_attribute_name,
java.lang.String upper_bound_attribute_name,
java.util.ArrayList dimension_properties)
See the dissertation document for details on how these parameters are defined and used.
lower_bound_attribute_name - - the lower-bound attribute nameupper_bound_attribute_name - - the upper-bound attribute namedimension_properties - - the properties associated with this range
public AttributeIntervalNode(java.lang.String lower_bound_attribute_name,
double lower_bound_adjustment,
java.lang.String upper_bound_attribute_name,
double upper_bound_adjustment,
java.util.ArrayList dimension_properties)
See the dissertation document for details on how these parameters are defined and used.
lower_bound_attribute_name - - the lower-bound attribute namelower_bound_adjustment - - the adjustment of the lower boundupper_bound_attribute_name - - the upper-bound attribute nameupper_bound_adjustment - - the adjustment of the upper bounddimension_properties - - the properties associated with this range| Method Detail |
public int compareTo(java.lang.Object other_attribute_interval_node)
compareTo in interface java.lang.Comparableother_attribute_interval_node - - the other attribute-interval node to compare
String.compareTo(java.lang.String)public int getAttributeBoundCode(java.lang.String attribute_name)
attribute_name - - the attribute name
PlausibilityInterval.getBoundFixedValue(int),
PlausibilityInterval.CODE_LOWER_BOUND_SUGGESTED,
PlausibilityInterval.CODE_UPPER_BOUND_SUGGESTEDpublic AttributeIntervalNode getClone()
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 | ||||||||||