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, somaFields 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 SimpleNeuron() -
Method Summary
Modifier and Type Method Description java.lang.Objectclone()SimpleNeurongetBasicInstance(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 SimpleNeurongetBasicUnit()voidsetAxon(AbstractAxon a)voidsetDendrites(AbstractDendrites d)voidsetSoma(AbstractSoma s)Methods inherited from class mgui.neuro.components.types.ConnectableNeuron
connectDendrite, connectOpenDendrite, connectToMethods inherited from class mgui.neuro.components.AbstractNeuron
connectDendrites, getAxon, getDendrites, getSoma, getSubComponents, init, setAxon, setDendrites, setSoma, setTreeNode, toStringMethods 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, 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.models.dynamic.TimeStepListener
timeElapsedMethods 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:
clonein interfaceDynamicModelComponent- Specified by:
clonein classAbstractNeuroComponent
-