Package mgui.neuro.components.simple
Class SimpleNeuron
java.lang.Object
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Comparable<DynamicModelComponent>
,AttributeListener
,AttributeObject
,InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,DynamicModelComponent
,TimeStepListener
,Updateable
,Neuron
public class SimpleNeuron extends ConnectableNeuron
Simple McCulloch-Pitts model of an artificial neuron.
See http://www.fulton.asu.edu/~nsfadp/ieeecis/Emil_M_Petriu.pdf.
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.neuro.components.AbstractNeuron
axon, dendrites, soma
Fields inherited from class mgui.neuro.components.AbstractNeuroComponent
attributes, clock, connections, events, hasSubComponents, id, listeners, solver, updated
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes
-
Constructor Summary
Constructors Constructor Description SimpleNeuron()
-
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
SimpleNeuron
getBasicInstance(int dendCount, double restingV)
Returns an instance of a basic simple neuron with dendCount basic (non branching) dendrites, each with a resting potential of restingV.static SimpleNeuron
getBasicUnit()
void
setAxon(AbstractAxon a)
void
setDendrites(AbstractDendrites d)
void
setSoma(AbstractSoma s)
Methods inherited from class mgui.neuro.components.types.ConnectableNeuron
connectDendrite, connectOpenDendrite, connectTo
Methods inherited from class mgui.neuro.components.AbstractNeuron
connectDendrites, getAxon, getDendrites, getSoma, getSubComponents, init, setAxon, setDendrites, setSoma, setTreeNode, toString
Methods inherited from class mgui.neuro.components.AbstractNeuroComponent
addConnection, addEvent, addListener, addToEngine, attributeUpdated, compareTo, executeEvent, 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, updateComponent, updateFromClock
Methods inherited from class mgui.models.networks.components.AbstractNetworkComponent
getAttributeValue
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, updateTreeNodes
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface mgui.interfaces.util.CleanableObject
clean
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface mgui.models.dynamic.DynamicModelComponent
addConnection, addEvent, addToEngine, executeEvents, getID, hasSubComponents, removeConnection, reset, setID, setID
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
-
Constructor Details
-
SimpleNeuron
public SimpleNeuron()
-
-
Method Details
-
getBasicUnit
-
getBasicInstance
Returns an instance of a basic simple neuron with dendCount basic (non branching) dendrites, each with a resting potential of restingV.- Parameters:
dendCount
- number of dendrites to addrestingV
- resting potential for these dendrites- Returns:
- a SimpleNeuron
-
setSoma
- Throws:
NeuroException
-
setDendrites
- Throws:
NeuroException
-
setAxon
- Throws:
NeuroException
-
clone
public java.lang.Object clone()- Specified by:
clone
in interfaceDynamicModelComponent
- Specified by:
clone
in classAbstractNeuroComponent
-