aminePlatform.engines.memoryBasedInferences
Class MemoryAnalogicalInference

java.lang.Object
  extended byaminePlatform.engines.memoryBasedInferences.MemoryBasedInferences
      extended byaminePlatform.engines.memoryBasedInferences.MemoryAnalogicalInference

public class MemoryAnalogicalInference
extends MemoryBasedInferences

MemoryAnalogicalInference is a specialization of MemoryBasedInferences. Copyright: Copyright (c) 2004-2009 Adil KABBAJ


Field Summary
 
Fields inherited from class aminePlatform.engines.memoryBasedInferences.MemoryBasedInferences
ABDUCTIVE_INFERENCE_MODE, ANALOGICAL_INFERENCE_MODE, DEDUCTIVE_INFERENCE_MODE, integrationSituation, lexicon, ontology, rulesUsed, txtArea
 
Constructor Summary
MemoryAnalogicalInference(Ontology ontology, Lexicon lexicon)
           
 
Method Summary
 CG doInferenceStep(CG newDescr, SimulationObject simulationObject)
           
protected  CG inferenceStep(CG newDescr)
          inferenceStep represents one step in deductive/abductive inference: it asks for the position of the given newDescr in the ontology/KB/memory, and check if newDescr is more specific than the antecedent (for the case of deductive inference) or than the consequence (for the case of abductive inference) of an existing CSRule, this later is activated; its antecedent/consequence is joined to newDescr and the result of the maximalJoin is returned as an outcome of inferFrom.
 
Methods inherited from class aminePlatform.engines.memoryBasedInferences.MemoryBasedInferences
getTextArea, oneInferenceStep, setTextArea, strictInferenceChain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryAnalogicalInference

public MemoryAnalogicalInference(Ontology ontology,
                                 Lexicon lexicon)
                          throws DynamicKnowledgeIntegrationException
Method Detail

doInferenceStep

public CG doInferenceStep(CG newDescr,
                          SimulationObject simulationObject)
                   throws java.lang.Exception
Specified by:
doInferenceStep in class MemoryBasedInferences
Throws:
java.lang.Exception

inferenceStep

protected CG inferenceStep(CG newDescr)
                    throws java.lang.Exception
Description copied from class: MemoryBasedInferences
inferenceStep represents one step in deductive/abductive inference: it asks for the position of the given newDescr in the ontology/KB/memory, and check if newDescr is more specific than the antecedent (for the case of deductive inference) or than the consequence (for the case of abductive inference) of an existing CSRule, this later is activated; its antecedent/consequence is joined to newDescr and the result of the maximalJoin is returned as an outcome of inferFrom. Otherwise, null is returned.

Overrides:
inferenceStep in class MemoryBasedInferences
Parameters:
newDescr - CG
Returns:
CG
Throws:
java.lang.Exception