gov.sandia.cognition.framework.lite
Class MutableSemanticMemoryLiteFactory

java.lang.Object
  extended by gov.sandia.cognition.framework.lite.MutableSemanticMemoryLiteFactory
All Implemented Interfaces:
CognitiveModuleFactory, Serializable

public class MutableSemanticMemoryLiteFactory
extends Object
implements CognitiveModuleFactory

The MutableSemanticMemoryLiteFactory implements a CognitiveModuleFactory for MutableSemanticMemoryLite modules.

Since:
1.0
Author:
Justin Basilico, Kevin R. Dixon
See Also:
Serialized Form

Constructor Summary
MutableSemanticMemoryLiteFactory(MutablePatternRecognizerLite recognizer)
          Creates a new instance of MutableSemanticMemoryLiteFactory.
 
Method Summary
 MutableSemanticMemoryLite createModule(CognitiveModel model)
          Creates a new MutableSemanticMemoryLite module for the given model.
 MutablePatternRecognizerLite getRecognizer()
          Gets the recognizer of the factory.
 MutablePatternRecognizerLite getSettings()
          Gets the settings of the factory.
 void setRecognizer(MutablePatternRecognizerLite recognizer)
          Sets the settings used by the factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableSemanticMemoryLiteFactory

public MutableSemanticMemoryLiteFactory(MutablePatternRecognizerLite recognizer)
Creates a new instance of MutableSemanticMemoryLiteFactory.

Parameters:
recognizer - The pattern recognizer to use.
Method Detail

createModule

public MutableSemanticMemoryLite createModule(CognitiveModel model)
Creates a new MutableSemanticMemoryLite module for the given model.

Specified by:
createModule in interface CognitiveModuleFactory
Parameters:
model - The model to create the module for.
Returns:
The new MutableSemanticMemoryLite module.

getSettings

public MutablePatternRecognizerLite getSettings()
Gets the settings of the factory.

Returns:
The settings for the module.

getRecognizer

public MutablePatternRecognizerLite getRecognizer()
Gets the recognizer of the factory.

Returns:
The recognizer for the module.

setRecognizer

public void setRecognizer(MutablePatternRecognizerLite recognizer)
Sets the settings used by the factory.

Parameters:
recognizer - The new settings for the factory to use.