public interface CognitiveModel
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
addCognitiveModelListener(CognitiveModelListener listener)
Adds a CognitiveModelListener to this model.
|
CognitiveModelState |
getCurrentState()
Gets the current state of the model.
|
java.util.List<? extends CognitiveModule> |
getModules()
Gets the modules that are instantiated for this model.
|
SemanticIdentifierMap |
getSemanticIdentifierMap()
Gets teh semantic identifier database used by the model.
|
void |
removeCognitiveModelListener(CognitiveModelListener listener)
Removes a CognitiveModelListener from this model.
|
void |
resetCognitiveState()
Resets the current cognitive state.
|
void |
update(CognitiveModelInput input)
Updates the model by updating all the modules using the given input.
|
void update(CognitiveModelInput input)
input
- The input to the modeljava.util.List<? extends CognitiveModule> getModules()
void resetCognitiveState()
CognitiveModelState getCurrentState()
SemanticIdentifierMap getSemanticIdentifierMap()
void addCognitiveModelListener(CognitiveModelListener listener)
listener
- The listener to addvoid removeCognitiveModelListener(CognitiveModelListener listener)
listener
- The listener to remove