Package mgui.models.dynamic
Interface DynamicModel
- All Superinterfaces:
java.lang.Cloneable
- All Known Implementing Classes:
AbstractNetwork
,AbstractNetworkModel
,AbstractNeuralNet
,CorticalNetwork
,InterfaceAbstractModel
,KohonenNet
,PerceptronNet
public interface DynamicModel
extends java.lang.Cloneable
Base interface for a dynamic model; specifies methods for getting and setting
model components, sensors, listeners, and environments.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Method Summary
Modifier and Type Method Description void
addListener(DynamicModelListener l)
void
addSensor(DynamicModelEnvironmentSensor sensor)
void
fireListeners()
java.util.ArrayList<DynamicModelComponent>
getComponents()
DynamicModelEnvironment<?>
getEnvironment()
java.util.ArrayList<DynamicModelEnvironmentSensor>
getSensors()
void
removeListener(DynamicModelListener l)
void
removeSensor(DynamicModelEnvironmentSensor sensor)
void
reset()
void
setEnvironment(DynamicModelEnvironment<?> e)
-
Method Details
-
getComponents
java.util.ArrayList<DynamicModelComponent> getComponents() -
getSensors
java.util.ArrayList<DynamicModelEnvironmentSensor> getSensors() -
addSensor
-
removeSensor
-
addListener
-
removeListener
-
fireListeners
void fireListeners() -
setEnvironment
- Throws:
DynamicModelException
-
getEnvironment
DynamicModelEnvironment<?> getEnvironment() -
reset
void reset()
-