Package mgui.models.dynamic
Interface DynamicModelComponent
- All Superinterfaces:
CleanableObject
,java.lang.Cloneable
,java.lang.Comparable<DynamicModelComponent>
,InterfaceObject
,NamedObject
,TimeStepListener
,TreeObject
,Updateable
- All Known Subinterfaces:
Axon
,Dendrite
,Dendrites
,DynamicModelODEComponent
,MotorNeuron
,Neuron
,NeuronalComponent
,SensoryNeuron
,Soma
,Synapse
- All Known Implementing Classes:
AbstractAxon
,AbstractCompartment
,AbstractCorticalConnection
,AbstractCorticalInput
,AbstractCorticalOutput
,AbstractCorticalRegion
,AbstractDendrite
,AbstractDendrites
,AbstractMotorNeuron
,AbstractNetworkComponent
,AbstractNeuroComponent
,AbstractNeuron
,AbstractNeuronalComponent
,AbstractSensoryNeuron
,AbstractSoma
,AbstractSynapse
,CompartmentalComponent
,CompartmentalDendrite
,CompartmentalNeuron
,CompartmentalSoma
,ConnectableNeuron
,CorticalRegion
,CorticalVolume
,CorticalVolume
,NeuronalCompartmentalComponent
,SimpleAxon
,SimpleCompartment
,SimpleCorticalConnection
,SimpleCorticalInput
,SimpleCorticalOutput
,SimpleCorticalRegion
,SimpleDendrite
,SimpleDendrites
,SimpleMotorNeuron
,SimpleNeuron
,SimpleSensoryNeuron
,SimpleSoma
,SimpleSynapse
public interface DynamicModelComponent extends TimeStepListener, Updateable, java.lang.Comparable<DynamicModelComponent>, java.lang.Cloneable, InterfaceObject
Interface which must be implemented by all components of a dynamic model. It must also
be able to update itself from an enviroment state, via its updateFromEnviroment method.
This interface extends TimeStepListener, so a dynamic component must also be able to
update itself as a function of a given interval of time elapsed from its current state.
- Version:
- 1.0
- Author:
- Andrew Reid
-
Method Summary
Modifier and Type Method Description void
addConnection(DynamicModelComponent c)
void
addEvent(DynamicModelEvent e)
void
addToEngine(DynamicModelEngine e)
java.lang.Object
clone()
boolean
executeEvents(double step)
Executes any events in this component's event cue and clears the cue.long
getID()
java.util.ArrayList<DynamicModelComponent>
getSubComponents()
boolean
hasSubComponents()
void
removeConnection(DynamicModelComponent c)
void
reset()
void
setID(long id)
void
setID(long id, boolean update)
Methods inherited from interface mgui.interfaces.util.CleanableObject
clean
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface mgui.interfaces.InterfaceObject
destroy, isDestroyed
Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
Methods inherited from interface mgui.models.dynamic.TimeStepListener
timeElapsed
Methods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode, setTreeNode
-
Method Details
-
addToEngine
-
addEvent
-
addConnection
-
removeConnection
-
executeEvents
boolean executeEvents(double step)Executes any events in this component's event cue and clears the cue.- Returns:
- true if successful, false if errors encountered
-
hasSubComponents
boolean hasSubComponents() -
getSubComponents
java.util.ArrayList<DynamicModelComponent> getSubComponents() -
getID
long getID() -
setID
void setID(long id) -
setID
void setID(long id, boolean update) -
reset
void reset() -
clone
java.lang.Object clone()
-