|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--Reasoner.ObjectTemplate
Maintains a collection of details used to build a set of object inferences that cover the range of plausible interpretations for a single concept instance.
ObjectTemplateSet,
ObjectInference| Nested Class Summary | |
class |
ObjectTemplate.ConstraintWrapper
Defines an association between a constraint node and a target label to indicate what the constraint applies to. |
| Field Summary | |
PlausibilityInterval |
dimension_interval_depth
|
PlausibilityInterval |
dimension_interval_height
|
PlausibilityInterval |
dimension_interval_width
|
DOFAdjustmentNode |
dof_adjustment_node
|
private ConceptInstance |
m_concept_instance
|
private java.util.ArrayList |
m_constraint_nodes
|
private java.lang.String |
m_name
|
java.lang.String |
model_name
|
| Constructor Summary | |
ObjectTemplate(ConceptInstance concept_instance)
Creates a new object template associated with a concept instance |
|
| Method Summary | |
void |
addConstraintNode(ConstraintNode constraint_node,
java.util.ArrayList target_labels)
Adds a constraint node to this object template and associates it with a set of target labels. |
ConceptInstance |
getConceptInstance()
Returns the concept instance associated with this object template. |
java.util.ArrayList |
getConstraintNodes()
Returns as a collection of ConstraintWrappers all the constraint nodes that were added to this object template. |
java.util.ArrayList |
getConstraintNodes(java.lang.String target_label)
Returns all the constraint nodes added to this object template that are directed at a target. |
java.lang.String |
getName()
Returns the name of this object template, which is also the name of the concept instance it is associated with. |
java.lang.String |
toHTMLString()
Returns an indented HTML string representation of this object to be displayed by the Representation Viewer. |
java.lang.String |
toString()
Returns a string representation of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.lang.String m_name
private ConceptInstance m_concept_instance
private java.util.ArrayList m_constraint_nodes
public PlausibilityInterval dimension_interval_height
public PlausibilityInterval dimension_interval_width
public PlausibilityInterval dimension_interval_depth
public java.lang.String model_name
public DOFAdjustmentNode dof_adjustment_node
| Constructor Detail |
public ObjectTemplate(ConceptInstance concept_instance)
concept_instance - - the concept instance| Method Detail |
public void addConstraintNode(ConstraintNode constraint_node,
java.util.ArrayList target_labels)
constraint_node - - the constraint nodetarget_labels - - the target labelsgetConstraintNodes()public ConceptInstance getConceptInstance()
public java.util.ArrayList getConstraintNodes()
addConstraintNode(KnowledgeBase.ConstraintNode, java.util.ArrayList),
ObjectTemplate.ConstraintWrapperpublic java.util.ArrayList getConstraintNodes(java.lang.String target_label)
target_label - - the target label to filter on
addConstraintNode(KnowledgeBase.ConstraintNode, java.util.ArrayList)public java.lang.String getName()
public java.lang.String toHTMLString()
RepresentationViewerpublic 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 | ||||||||||