public interface CognitiveModule
extends java.io.Serializable
CognitiveModuleFactory,
CognitiveModuleState| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the human-readable name of module.
|
CognitiveModuleSettings |
getSettings()
Gets the settings for the module, which can be used to create another
instantation of a module.
|
CognitiveModuleState |
initializeState(CognitiveModelState modelState)
This method initializes the state object for a CognitiveModel by adding
any necessary information to the model state and returining the default
state for the module.
|
CognitiveModuleState |
update(CognitiveModelState modelState,
CognitiveModuleState previousModuleState)
This method is the main method for a CognitiveModule.
|
CognitiveModuleState initializeState(CognitiveModelState modelState)
modelState - The CognitiveModelState to initalizeCognitiveModuleState update(CognitiveModelState modelState, CognitiveModuleState previousModuleState)
modelState - The CognitiveModelState to updatepreviousModuleState - The previous CognitiveModuleState returned
by this modulejava.lang.String getName()
CognitiveModuleSettings getSettings()