ca.nengo.model.impl
Class ProjectionImplTest.MockOrigin
java.lang.Object
ca.nengo.model.impl.ProjectionImplTest.MockOrigin
- All Implemented Interfaces:
- Origin, java.io.Serializable, java.lang.Cloneable
- Enclosing class:
- ProjectionImplTest
public static class ProjectionImplTest.MockOrigin
- extends java.lang.Object
- implements Origin
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectionImplTest.MockOrigin
public ProjectionImplTest.MockOrigin(java.lang.String name,
int dimensions)
getName
public java.lang.String getName()
- Specified by:
getName in interface Origin
- Returns:
- Name of this Origin (unique in the scope of a source of Origins, eg a Neuron or
Ensemble)
setName
public void setName(java.lang.String name)
getDimensions
public int getDimensions()
- Specified by:
getDimensions in interface Origin
- Returns:
- Dimensionality of information coming from this Origin (eg number of
axons, or dimension of decoded function of variables represented by the
Ensemble)
setDimensions
public void setDimensions(int dim)
getValues
public InstantaneousOutput getValues()
- Specified by:
getValues in interface Origin
- Returns:
- Instantaneous output from this Origin.
getNode
public Node getNode()
- Specified by:
getNode in interface Origin
- Returns:
- The Node to which the Origin belongs
clone
public Origin clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone in interface Origin- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException