Class CompartmentalDendrite
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.models.networks.components.AbstractNetworkComponent
mgui.neuro.components.AbstractNeuroComponent
mgui.neuro.components.compartments.CompartmentalComponent
mgui.neuro.components.compartments.NeuronalCompartmentalComponent
mgui.neuro.components.compartments.CompartmentalDendrite
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Comparable<DynamicModelComponent>,AttributeListener,AttributeObject,InterfaceObject,NamedObject,TreeObject,CleanableObject,DynamicModelComponent,TimeStepListener,Updateable,Dendrite,NeuronalComponent
public class CompartmentalDendrite extends NeuronalCompartmentalComponent implements Dendrite
Represents a dendrite whose activity is determined by the cable model (see Rawl etc.)
and a compartmental discrete (numerical) approximation of its differential functions.
See CompartmentalComponent.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description CompartmentalDendritenextCompartmentalSomasomajava.util.ArrayList<Synapse>synapsesFields inherited from class mgui.neuro.components.compartments.NeuronalCompartmentalComponent
parentFields inherited from class mgui.neuro.components.compartments.CompartmentalComponent
compartmentsFields 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 CompartmentalDendrite()CompartmentalDendrite(int n, double Rm, double Ra, double Cm, double length, double diameter) -
Method Summary
Modifier and Type Method Description voidaddSynapse(Synapse s)voidconnectTo(Dendrite d)voidconnectTo(Soma s)voiddisconnect()doublegetCm()doublegetDiam()doublegetLength()doublegetRa()doublegetRm()intgetSynapseCount()java.util.ArrayList<Synapse>getSynapses()protected voidinit()booleanisConnectedToDendrite()booleanisConnectedToSoma()voidremoveSynapse(Synapse s)voidsetCompartments()Set/reset list of compartments to size NvoidsetParent(Neuron n)voidtransmit(AbstractCompartment c1, AbstractCompartment c2)Transmit signals between compartments; should update appropriate state and/or temporary variables.Methods inherited from class mgui.neuro.components.compartments.NeuronalCompartmentalComponent
getParentMethods inherited from class mgui.neuro.components.compartments.CompartmentalComponent
clone, executeEvent, getN, setN, timeElapsedMethods 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, getSubComponents, hasSubComponents, removeConnection, removeListener, reset, resetClock, setAttribute, setAttributes, setDelay, setID, setID, setName, setODESolver, setSolver, setSolver, updateComponent, updateFromClockMethods inherited from class mgui.models.networks.components.AbstractNetworkComponent
getAttributeValueMethods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, setTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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, clone, executeEvents, getID, getSubComponents, 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, setTreeNode
-
Field Details
-
synapses
-
next
-
soma
-
-
Constructor Details
-
CompartmentalDendrite
public CompartmentalDendrite() -
CompartmentalDendrite
public CompartmentalDendrite(int n, double Rm, double Ra, double Cm, double length, double diameter)
-
-
Method Details
-
init
protected void init()- Overrides:
initin classCompartmentalComponent
-
setCompartments
public void setCompartments()Description copied from class:CompartmentalComponentSet/reset list of compartments to size N- Specified by:
setCompartmentsin classCompartmentalComponent
-
getRm
public double getRm() -
getRa
public double getRa() -
getCm
public double getCm() -
getLength
public double getLength() -
getDiam
public double getDiam() -
addSynapse
- Specified by:
addSynapsein interfaceDendrite- Throws:
NeuroException
-
connectTo
- Specified by:
connectToin interfaceDendrite- Throws:
NeuroException
-
connectTo
- Specified by:
connectToin interfaceDendrite- Throws:
NeuroException
-
disconnect
public void disconnect()- Specified by:
disconnectin interfaceDendrite
-
getSynapseCount
public int getSynapseCount()- Specified by:
getSynapseCountin interfaceDendrite
-
getSynapses
- Specified by:
getSynapsesin interfaceDendrite
-
setParent
- Specified by:
setParentin interfaceNeuronalComponent- Overrides:
setParentin classNeuronalCompartmentalComponent- Throws:
NeuroException
-
isConnectedToDendrite
public boolean isConnectedToDendrite()- Specified by:
isConnectedToDendritein interfaceDendrite
-
isConnectedToSoma
public boolean isConnectedToSoma()- Specified by:
isConnectedToSomain interfaceDendrite
-
removeSynapse
- Specified by:
removeSynapsein interfaceDendrite
-
transmit
Description copied from class:CompartmentalComponentTransmit signals between compartments; should update appropriate state and/or temporary variables.- Specified by:
transmitin classCompartmentalComponent- Throws:
NeuroException
-