Class SimpleCorticalOutput
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.models.networks.components.AbstractNetworkComponent
mgui.neuro.components.AbstractNeuroComponent
mgui.neuro.components.cortical.AbstractCorticalOutput
mgui.neuro.components.cortical.simple.SimpleCorticalOutput
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Comparable<DynamicModelComponent>,AttributeListener,AttributeObject,InterfaceObject,NamedObject,TreeObject,CleanableObject,DynamicModelComponent,TimeStepListener,Updateable
public class SimpleCorticalOutput extends AbstractCorticalOutput
-
Field Summary
Fields Modifier and Type Field Description DynamicModelEnvironmentenvironmentdoubleoutputFields 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 SimpleCorticalOutput()SimpleCorticalOutput(double delay)SimpleCorticalOutput(java.lang.String name, double delay) -
Method Summary
Modifier and Type Method Description protected booleanexecuteEvent(DynamicModelEvent e)protected voidfireOutputEvent()protected voidfireOutputEvent(DynamicModelOutputEvent e)DynamicModelEnvironmentgetEnvironment()intgetIndex()doublegetOutput()protected voidinit()voidreset()voidsetEnvironment(DynamicModelEnvironment e)voidsetIndex(int i)voidsetName(java.lang.String name)Sets the name for this object.java.lang.StringtoString()protected booleanupdateComponent()Methods inherited from class mgui.neuro.components.cortical.AbstractCorticalOutput
cloneMethods 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, resetClock, setAttribute, setAttributes, setDelay, setID, setID, 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, setTreeNode, 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 mgui.interfaces.InterfaceObject
destroy, isDestroyedMethods inherited from interface mgui.interfaces.trees.TreeObject
getTreeLabel, issueTreeNode, setTreeNode
-
Field Details
-
environment
-
output
public double output
-
-
Constructor Details
-
SimpleCorticalOutput
public SimpleCorticalOutput() -
SimpleCorticalOutput
public SimpleCorticalOutput(double delay) -
SimpleCorticalOutput
public SimpleCorticalOutput(java.lang.String name, double delay)
-
-
Method Details
-
init
protected void init()- Overrides:
initin classAbstractNeuroComponent
-
getOutput
public double getOutput() -
reset
public void reset()- Specified by:
resetin interfaceDynamicModelComponent- Overrides:
resetin classAbstractNeuroComponent
-
executeEvent
- Overrides:
executeEventin classAbstractNeuroComponent- Throws:
NeuroException
-
updateComponent
protected boolean updateComponent()- Overrides:
updateComponentin classAbstractNeuroComponent
-
fireOutputEvent
protected void fireOutputEvent() -
setEnvironment
- Specified by:
setEnvironmentin classAbstractCorticalOutput
-
getEnvironment
-
setName
public void setName(java.lang.String name)Description copied from interface:NamedObjectSets the name for this object.- Specified by:
setNamein interfaceNamedObject- Overrides:
setNamein classAbstractNeuroComponent
-
setIndex
public void setIndex(int i)- Specified by:
setIndexin classAbstractCorticalOutput
-
getIndex
public int getIndex()- Specified by:
getIndexin classAbstractCorticalOutput
-
fireOutputEvent
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-