ca.nengo.model.impl
Class NetworkArrayImpl.ArrayOrigin
java.lang.Object
ca.nengo.model.impl.BasicOrigin
ca.nengo.model.impl.NetworkArrayImpl.ArrayOrigin
- All Implemented Interfaces:
- Configurable, Noise.Noisy, Origin, Resettable, java.io.Serializable, java.lang.Cloneable
- Enclosing class:
- NetworkArrayImpl
public class NetworkArrayImpl.ArrayOrigin
- extends BasicOrigin
Origin representing the concatenation of origins on each of the
ensembles within the network array.
- See Also:
- Serialized Form
Methods inherited from class ca.nengo.model.impl.BasicOrigin |
clone, getConfiguration, getNoise, getUnits, reset, setDimensions, setName, setNoise, setUnits, setValues, setValues |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkArrayImpl.ArrayOrigin
public NetworkArrayImpl.ArrayOrigin(NetworkArrayImpl parent,
java.lang.String name,
DecodedOrigin[] origins)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Origin
- Overrides:
getName
in class BasicOrigin
- Returns:
- Name of this Origin (unique in the scope of a source of Origins, eg a Neuron or
Ensemble)
- See Also:
Origin.getName()
getDimensions
public int getDimensions()
- Specified by:
getDimensions
in interface Origin
- Overrides:
getDimensions
in class BasicOrigin
- Returns:
- Dimensionality of information coming from this Origin (eg number of
axons, or dimension of decoded function of variables represented by the
Ensemble)
- See Also:
Origin.getDimensions()
setValues
public void setValues(RealOutput values)
getValues
public InstantaneousOutput getValues()
throws SimulationException
- Specified by:
getValues
in interface Origin
- Overrides:
getValues
in class BasicOrigin
- Returns:
- Instantaneous output from this Origin.
- Throws:
SimulationException
- if there is any problem retrieving values- See Also:
Origin.getValues()
getNode
public Node getNode()
- Specified by:
getNode
in interface Origin
- Overrides:
getNode
in class BasicOrigin
- Returns:
- The Node to which the Origin belongs
- See Also:
Origin.getNode()
getRequiredOnCPU
public boolean getRequiredOnCPU()
- Specified by:
getRequiredOnCPU
in interface Origin
- Overrides:
getRequiredOnCPU
in class BasicOrigin
setRequiredOnCPU
public void setRequiredOnCPU(boolean req)
- Specified by:
setRequiredOnCPU
in interface Origin
- Overrides:
setRequiredOnCPU
in class BasicOrigin
clone
public NetworkArrayImpl.ArrayOrigin clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface Origin
- Overrides:
clone
in class BasicOrigin
- Returns:
- Valid clone
- Throws:
java.lang.CloneNotSupportedException
- if clone cannot be made
clone
public NetworkArrayImpl.ArrayOrigin clone(Node n)
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
getDecoders
public float[][] getDecoders()