public class VectorBasedPerceptionModule extends java.lang.Object implements CognitiveModule, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MODULE_NAME
The name of the module.
|
| Constructor and Description |
|---|
VectorBasedPerceptionModule(CogxelFactory cogxelFactory)
Creates a new instance of VectorBasedPerceptionModule
|
| Modifier and Type | Method and Description |
|---|---|
CogxelFactory |
getCogxelFactory()
Getter for cogxelFactory
|
java.lang.String |
getName()
Gets the human-readable name of module.
|
CognitiveModuleSettings |
getSettings()
Returns null because this module has no settings.
|
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.
|
void |
setCogxelFactory(CogxelFactory cogxelFactory)
Setter for cogxelFactory
|
CognitiveModuleState |
update(CognitiveModelState modelState,
CognitiveModuleState previousModuleState)
This method is the main method for a CognitiveModule.
|
public static final java.lang.String MODULE_NAME
public VectorBasedPerceptionModule(CogxelFactory cogxelFactory)
cogxelFactory - Factory for creating Cogxels for perceptionpublic CognitiveModuleState initializeState(CognitiveModelState modelState)
initializeState in interface CognitiveModulemodelState - The CognitiveModelState to initalizepublic java.lang.String getName()
getName in interface CognitiveModulepublic CognitiveModuleSettings getSettings()
getSettings in interface CognitiveModulepublic CognitiveModuleState update(CognitiveModelState modelState, CognitiveModuleState previousModuleState)
update in interface CognitiveModulemodelState - The CognitiveModelState to updatepreviousModuleState - The previous CognitiveModuleState returned
by this modulepublic CogxelFactory getCogxelFactory()
public void setCogxelFactory(CogxelFactory cogxelFactory)
cogxelFactory - Factory for creating Cogxels for perception