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 DynamicModelEnvironment
environment
double
output
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 SimpleCorticalOutput()
SimpleCorticalOutput(double delay)
SimpleCorticalOutput(java.lang.String name, double delay)
-
Method Summary
Modifier and Type Method Description protected boolean
executeEvent(DynamicModelEvent e)
protected void
fireOutputEvent()
protected void
fireOutputEvent(DynamicModelOutputEvent e)
DynamicModelEnvironment
getEnvironment()
int
getIndex()
double
getOutput()
protected void
init()
void
reset()
void
setEnvironment(DynamicModelEnvironment e)
void
setIndex(int i)
void
setName(java.lang.String name)
Sets the name for this object.java.lang.String
toString()
protected boolean
updateComponent()
Methods inherited from class mgui.neuro.components.cortical.AbstractCorticalOutput
clone
Methods 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, updateFromClock
Methods inherited from class mgui.models.networks.components.AbstractNetworkComponent
getAttributeValue
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getTreeLabel, isDestroyed, issueTreeNode, setTreeNode, 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 mgui.interfaces.InterfaceObject
destroy, isDestroyed
Methods 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:
init
in classAbstractNeuroComponent
-
getOutput
public double getOutput() -
reset
public void reset()- Specified by:
reset
in interfaceDynamicModelComponent
- Overrides:
reset
in classAbstractNeuroComponent
-
executeEvent
- Overrides:
executeEvent
in classAbstractNeuroComponent
- Throws:
NeuroException
-
updateComponent
protected boolean updateComponent()- Overrides:
updateComponent
in classAbstractNeuroComponent
-
fireOutputEvent
protected void fireOutputEvent() -
setEnvironment
- Specified by:
setEnvironment
in classAbstractCorticalOutput
-
getEnvironment
-
setName
public void setName(java.lang.String name)Description copied from interface:NamedObject
Sets the name for this object.- Specified by:
setName
in interfaceNamedObject
- Overrides:
setName
in classAbstractNeuroComponent
-
setIndex
public void setIndex(int i)- Specified by:
setIndex
in classAbstractCorticalOutput
-
getIndex
public int getIndex()- Specified by:
getIndex
in classAbstractCorticalOutput
-
fireOutputEvent
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-