gov.sandia.cognition.framework
Interface CognitiveModelFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractCognitiveModelFactory, CognitiveModelLiteFactory, MultithreadedCognitiveModelFactory

public interface CognitiveModelFactory
extends Serializable

The CognitiveModelFactory interface defines an interface for creating a new CognitiveModel using a predefined set of CognitiveModules, as created by CognitiveModuleFactories. The reason it exists is to provide an easy way for multiple models to be created using the same set of modules and (potentially) share parameters and modules. This could conserve memory is large-scale simulations and such. If you're not a large-scale simulation or don't need to conserve memory, don't worry: nothing changes for you.

Since:
1.0
Author:
Justin Basilico, Kevin R. Dixon, Zachary Benz

Method Summary
 CognitiveModel createModel()
          Creates a CognitiveModel from the factory.
 Collection<? extends CognitiveModuleFactory> getModuleFactories()
          Gets the CognitiveModuleFactories that are used to create a model.
 

Method Detail

createModel

CognitiveModel createModel()
Creates a CognitiveModel from the factory.

Returns:
A new CognitiveModel

getModuleFactories

Collection<? extends CognitiveModuleFactory> getModuleFactories()
Gets the CognitiveModuleFactories that are used to create a model.

Returns:
The Collection of CognitiveModuleFactories used to create a model.