ca.nengo.model.impl
Class SpikeOutputImpl
java.lang.Object
ca.nengo.model.impl.SpikeOutputImpl
- All Implemented Interfaces:
- InstantaneousOutput, SpikeOutput, java.io.Serializable, java.lang.Cloneable
public class SpikeOutputImpl
- extends java.lang.Object
- implements SpikeOutput
Default implementation of SpikeOutput.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpikeOutputImpl
public SpikeOutputImpl(boolean[] values,
Units units,
float time)
- Parameters:
values
- @see #getValues()units
- @see #getUnits()time
- @see #getTime()
getValues
public boolean[] getValues()
- Specified by:
getValues
in interface SpikeOutput
- Returns:
- Instantaneous output in spiking channels (true means spike; false means
no spike).
- See Also:
SpikeOutput.getValues()
getUnits
public Units getUnits()
- Specified by:
getUnits
in interface InstantaneousOutput
- Returns:
- Units in which output is expressed.
- See Also:
InstantaneousOutput.getUnits()
getDimension
public int getDimension()
- Specified by:
getDimension
in interface InstantaneousOutput
- Returns:
- Dimension of output
- See Also:
InstantaneousOutput.getDimension()
getTime
public float getTime()
- Specified by:
getTime
in interface InstantaneousOutput
- Returns:
- Time at which output is produced.
- See Also:
InstantaneousOutput.getTime()
clone
public SpikeOutput clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface InstantaneousOutput
- Overrides:
clone
in class java.lang.Object
- Returns:
- Valid clone
- Throws:
java.lang.CloneNotSupportedException
- if clone can't be made