aminePlatform.engines.memoryBasedInferences
Class MemoryAnalogicalInference
java.lang.Object
aminePlatform.engines.memoryBasedInferences.MemoryBasedInferences
aminePlatform.engines.memoryBasedInferences.MemoryAnalogicalInference
- public class MemoryAnalogicalInference
- extends MemoryBasedInferences
MemoryAnalogicalInference is a specialization of MemoryBasedInferences.
Copyright: Copyright (c) 2004-2009 Adil KABBAJ
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryAnalogicalInference
public MemoryAnalogicalInference(Ontology ontology,
Lexicon lexicon)
throws DynamicKnowledgeIntegrationException
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