public class MutableSemanticMemoryLiteFactory extends java.lang.Object implements CognitiveModuleFactory
Constructor and Description |
---|
MutableSemanticMemoryLiteFactory(MutablePatternRecognizerLite recognizer)
Creates a new instance of MutableSemanticMemoryLiteFactory.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public MutableSemanticMemoryLiteFactory(MutablePatternRecognizerLite recognizer)
recognizer
- The pattern recognizer to use.public MutableSemanticMemoryLite createModule(CognitiveModel model)
createModule
in interface CognitiveModuleFactory
model
- The model to create the module for.public MutablePatternRecognizerLite getSettings()
public MutablePatternRecognizerLite getRecognizer()
public void setRecognizer(MutablePatternRecognizerLite recognizer)
recognizer
- The new settings for the factory to use.