ca.nengo.model.impl
Class RealOutputImpl

java.lang.Object
  extended by ca.nengo.model.impl.RealOutputImpl
All Implemented Interfaces:
InstantaneousOutput, RealOutput, java.io.Serializable, java.lang.Cloneable

public class RealOutputImpl
extends java.lang.Object
implements RealOutput

Default implementation of RealOutput.

Author:
Bryan Tripp
See Also:
Serialized Form

Constructor Summary
RealOutputImpl(float[] values, Units units, float time)
           
 
Method Summary
 RealOutput clone()
           
 int getDimension()
           
 float getTime()
           
 Units getUnits()
           
 float[] getValues()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealOutputImpl

public RealOutputImpl(float[] values,
                      Units units,
                      float time)
Parameters:
values - @see #getValues()
units - @see #getUnits()
time - @see #getTime()
Method Detail

getValues

public float[] getValues()
Specified by:
getValues in interface RealOutput
Returns:
Instantaneous activity within real-valued channels. A real-valued channel could correspond to an axon, a lumped group of axons, a gap-junctional connection, the concentration of some substance in inter-cellular space, etc. Alternatively, each value can correspond to the decoded estimate of one dimension in a vector that is represented by activity in an NEFEnsemble, or to some function thereof.
See Also:
RealOutput.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 RealOutput clone()
                 throws java.lang.CloneNotSupportedException
Specified by:
clone in interface InstantaneousOutput
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException