Package mgui.neuro.components.simple
Class SimpleDendrite
java.lang.Object
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Comparable<DynamicModelComponent>,AttributeListener,AttributeObject,InterfaceObject,NamedObject,TreeObject,CleanableObject,DynamicModelComponent,TimeStepListener,Updateable,Dendrite,NeuronalComponent
public class SimpleDendrite extends AbstractDendrite
Simple dendrite, e.g., for
SimpleNeuron.- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.neuro.components.AbstractDendrite
next, soma, synapsesFields inherited from class mgui.neuro.components.AbstractNeuronalComponent
parentFields inherited from class mgui.neuro.components.AbstractNeuroComponent
attributes, clock, connections, events, hasSubComponents, id, listeners, solver, updatedFields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes -
Constructor Summary
Constructors Constructor Description SimpleDendrite(double restingV) -
Method Summary
Modifier and Type Method Description voidaddSynapse(Synapse s)Add a synapse and create connection between this dendrite and synapsejava.lang.Objectclone()voidconnectTo(Dendrite d)Connects this dendrite to another dendrite.voidconnectTo(Soma s)Connects this dendrite to a soma.protected booleanexecuteEvent(DynamicModelEvent e)doublegetRestingV()protected voidinit()voidsetRestingV(double restingV)protected booleanupdateComponent()Methods inherited from class mgui.neuro.components.AbstractDendrite
disconnect, getSubComponents, getSynapseCount, getSynapses, isConnectedToDendrite, isConnectedToSoma, removeSynapse, setParent, setTreeNode, toStringMethods inherited from class mgui.neuro.components.AbstractNeuronalComponent
getParentMethods inherited from class mgui.neuro.components.AbstractNeuroComponent
addConnection, addEvent, addListener, addToEngine, attributeUpdated, compareTo, executeEvents, fireListeners, fireListeners, getAttribute, getAttributes, getConnections, getDelay, getID, getName, getODESolver, getRate, getSolver, hasSubComponents, removeConnection, removeListener, reset, resetClock, setAttribute, setAttributes, setDelay, setID, setID, setName, setODESolver, setSolver, setSolver, timeElapsed, updateFromClockMethods inherited from class mgui.models.networks.components.AbstractNetworkComponent
getAttributeValueMethods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mgui.interfaces.util.CleanableObject
cleanMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface mgui.models.dynamic.DynamicModelComponent
addConnection, addEvent, addToEngine, executeEvents, getID, hasSubComponents, removeConnection, reset, setID, setIDMethods inherited from interface mgui.interfaces.InterfaceObject
destroy, isDestroyedMethods inherited from interface mgui.interfaces.NamedObject
getName, setNameMethods inherited from interface mgui.neuro.components.NeuronalComponent
getParentMethods inherited from interface mgui.models.dynamic.TimeStepListener
timeElapsedMethods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode
-
Constructor Details
-
SimpleDendrite
public SimpleDendrite(double restingV)
-
-
Method Details
-
init
protected void init()- Overrides:
initin classAbstractDendrite
-
setRestingV
public void setRestingV(double restingV) -
getRestingV
public double getRestingV() -
addSynapse
Description copied from class:AbstractDendriteAdd a synapse and create connection between this dendrite and synapse- Specified by:
addSynapsein interfaceDendrite- Overrides:
addSynapsein classAbstractDendrite- Parameters:
s- synapse to add- Throws:
NeuroException
-
connectTo
Description copied from class:AbstractDendriteConnects this dendrite to another dendrite. All existing connections are removed.- Specified by:
connectToin interfaceDendrite- Overrides:
connectToin classAbstractDendrite- Parameters:
d- dendrite to connect to- Throws:
NeuroException
-
connectTo
Description copied from class:AbstractDendriteConnects this dendrite to a soma. All existing connections are removed.- Specified by:
connectToin interfaceDendrite- Overrides:
connectToin classAbstractDendrite- Parameters:
s- soma to connect to- Throws:
NeuroException
-
executeEvent
- Overrides:
executeEventin classAbstractNeuroComponent- Throws:
NeuroException
-
updateComponent
protected boolean updateComponent()- Overrides:
updateComponentin classAbstractNeuroComponent
-
clone
public java.lang.Object clone()- Specified by:
clonein interfaceDynamicModelComponent- Specified by:
clonein classAbstractNeuronalComponent
-