|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--Reasoner.StaticReasoner
Sets up the plausibility intervals for the dimensions of each concept instance in the semantic network, determines the constraints that will need to be satisfied in their layout for rendering, selects the appropriate model, and backfills any early inferences into the semantic network. Early inferences are shared by all semantic networks in a simulation, whereas late dependencies differ based on particular solution sets.
ObjectTemplateSet,
SimulationEngine,
DynamicReasoner| Field Summary | |
private java.lang.String |
EXTRINSIC_FIELD_NAME
|
private KnowledgeBase |
m_knowledge_base
|
private ObjectTemplateSet |
m_object_template_set
|
private SemanticNetwork |
m_semantic_network
|
static java.lang.String |
PROPERTY_NAME_DEPTH
|
static java.lang.String |
PROPERTY_NAME_HEIGHT
|
static java.lang.String |
PROPERTY_NAME_WIDTH
|
| Constructor Summary | |
StaticReasoner(SemanticNetwork semantic_network,
KnowledgeBase knowledge_base,
java.lang.String viewer_position)
Creates a new static reasoner that builds an object template set of results. |
|
| Method Summary | |
private void |
build(java.lang.String viewer_position)
Builds and adds to the object template set object templates for all inferred constraints, early inferences, and dimensions for all concept instances. |
private void |
buildConstraintsAndEarlyInferencesAndModel(ConceptInstance concept_instance,
ObjectTemplate object_template,
java.lang.String viewer_position)
Adds to the object template set all inferred constraints and to the semantic network all inferred attributes. |
private void |
buildDimensions(ConceptInstance concept_instance,
ObjectTemplate object_template)
Defines the plausibility intervals for the dimensions of each concept instance and adds them to the object template set. |
void |
computeExtrinsicFrameOfReference(ConstraintNode constraint_node,
java.lang.String viewer_position)
Remaps any fields that apply to extrinsic frame of reference so they correspond to the position of the viewer. |
KnowledgeBase |
getKnowledgeBase()
Returns the knowledge base containing the implicit details of the description to reason over. |
ObjectTemplateSet |
getObjectTemplateSet()
Returns the object template set built from the reasoning process. |
SemanticNetwork |
getSemanticNetwork()
Returns the semantic network containing the explicit details of the description to reason over. |
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 SemanticNetwork m_semantic_network
private KnowledgeBase m_knowledge_base
private ObjectTemplateSet m_object_template_set
private final java.lang.String EXTRINSIC_FIELD_NAME
public static final java.lang.String PROPERTY_NAME_HEIGHT
public static final java.lang.String PROPERTY_NAME_WIDTH
public static final java.lang.String PROPERTY_NAME_DEPTH
| Constructor Detail |
public StaticReasoner(SemanticNetwork semantic_network,
KnowledgeBase knowledge_base,
java.lang.String viewer_position)
throws java.lang.Exception
semantic_network - - the semantic network containing the explicit details of the description to reason overknowledge_base - - the knowledge base containing the implicit details of the description to reason overviewer_position - - the viewer position: north, south, east, or west.
java.lang.Exception - - if the reasoning process failsgetObjectTemplateSet()| Method Detail |
private void build(java.lang.String viewer_position)
throws java.lang.Exception
viewer_position - - the viewer position: north, south, east, or west.
java.lang.Exception - - if any constraints, inferences, or dimensions cannot be built
private void buildConstraintsAndEarlyInferencesAndModel(ConceptInstance concept_instance,
ObjectTemplate object_template,
java.lang.String viewer_position)
throws java.lang.Exception
concept_instance - - the concept instance encoding the constraints and early inferencesobject_template - - the viewer position: north, south, east, or west.
java.lang.Exception - - if any constraints or inferences cannot be built
private void buildDimensions(ConceptInstance concept_instance,
ObjectTemplate object_template)
throws java.lang.Exception
concept_instance - - the concept instance encoding the dimensionsobject_template - - the object template to define according to the encoding
java.lang.Exception - - if any dimensions cannot be built
public void computeExtrinsicFrameOfReference(ConstraintNode constraint_node,
java.lang.String viewer_position)
constraint_node - - the constraint node to adjust for any extrinsic frame of reference. This is an in-out parameterviewer_position - - the viewer position: north, south, east, or west.public KnowledgeBase getKnowledgeBase()
public ObjectTemplateSet getObjectTemplateSet()
public SemanticNetwork getSemanticNetwork()
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 | ||||||||||