gov.sandia.cognition.framework.lite
Class ArrayBasedPerceptionModuleFactory

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

public class ArrayBasedPerceptionModuleFactory
extends Object
implements CognitiveModuleFactory, Serializable

The ArrayBasedPerceptionModuleFactory class implements a CognitiveModuleFactory for ArrayBasedPerceptionModules.

Since:
1.0
Author:
Justin Basilico
See Also:
Serialized Form

Constructor Summary
ArrayBasedPerceptionModuleFactory()
          Creates a new instance of ArrayBasedPerceptionModuleFactory.
ArrayBasedPerceptionModuleFactory(CogxelFactory cogxelFactory)
          Creates a new instance of ArrayBasedPerceptionModuleFactory.
 
Method Summary
 ArrayBasedPerceptionModule createModule(CognitiveModel model)
          Creates a new CognitiveModule for the given CognitiveModel.
 CogxelFactory getCogxelFactory()
          Gets the CogxelFactory to be used by the module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayBasedPerceptionModuleFactory

public ArrayBasedPerceptionModuleFactory()
Creates a new instance of ArrayBasedPerceptionModuleFactory. It uses the DefaultCogxelFactory to give the module for creating Cogxels.


ArrayBasedPerceptionModuleFactory

public ArrayBasedPerceptionModuleFactory(CogxelFactory cogxelFactory)
Creates a new instance of ArrayBasedPerceptionModuleFactory.

Parameters:
cogxelFactory - The CogxelFactory for the module to use.
Method Detail

createModule

public ArrayBasedPerceptionModule createModule(CognitiveModel model)
Creates a new CognitiveModule for the given CognitiveModel.

Specified by:
createModule in interface CognitiveModuleFactory
Parameters:
model - The model to create a new module for
Returns:
A new CognitiveModule for the given model

getCogxelFactory

public CogxelFactory getCogxelFactory()
Gets the CogxelFactory to be used by the module.

Returns:
The CogxelFactory to be used by the module.