|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.nengo.model.impl.EnsembleTermination
public class EnsembleTermination
A Termination that is composed of Terminations onto multiple Nodes. The dimensions of the Terminations onto each Node must be the same.
Physiologically, this might correspond to a set of n axons passing into a neuron pool. Each neuron in the pool receives synaptic connections from as many as n of these axons (zero weight is equivalent to no connection). Sometimes we deal with this set of axons only in terms of the branches they send to one specific Neuron (a Node-level Termination) but here we deal with all branches (an Ensemble-level Termination). In either case the spikes transmitted by the axons are the same.
TODO: test
| Constructor Summary | |
|---|---|
EnsembleTermination(Node node,
java.lang.String name,
Termination[] nodeTerminations)
|
|
| Method Summary | |
|---|---|
Termination |
clone()
|
int |
getDimensions()
|
boolean |
getModulatory()
Returns true if more than half of node terminations are modulatory. |
java.lang.String |
getName()
|
Node |
getNode()
|
float |
getTau()
Returns the average. |
void |
reset(boolean randomize)
|
void |
setModulatory(boolean modulatory)
|
void |
setTau(float tau)
|
void |
setValues(InstantaneousOutput values)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnsembleTermination(Node node,
java.lang.String name,
Termination[] nodeTerminations)
throws StructuralException
node - The parent Nodename - Name of this TerminationnodeTerminations - Node-level Terminations that make up this Termination
StructuralException - If dimensions of different terminations are not all the same| Method Detail |
|---|
public java.lang.String getName()
getName in interface TerminationTermination.getName()public int getDimensions()
getDimensions in interface TerminationTermination.getDimensions()
public void setValues(InstantaneousOutput values)
throws SimulationException
setValues in interface Terminationvalues - InstantaneousOutput (eg from another Ensemble) to apply to this Termination.
SimulationException - if the given values have the wrong dimensionTermination.setValues(ca.nengo.model.InstantaneousOutput)public boolean getModulatory()
getModulatory in interface TerminationTermination.getModulatory()public float getTau()
getTau in interface TerminationTermination.getTau()public void setModulatory(boolean modulatory)
setModulatory in interface Terminationmodulatory - True if the Termination is to be modulatoryTermination.setModulatory(boolean)
public void setTau(float tau)
throws StructuralException
setTau in interface Terminationtau - Time constant of dominant dynamics
StructuralException - if the time constant cannot be changedTermination.setTau(float)public Node getNode()
getNode in interface TerminationTermination.getNode()public void reset(boolean randomize)
reset in interface Resettablerandomize - True indicates that the object should be reset to a
randomly selected initial state (the object must be aware of the
distribution from which to draw from). False indicates that the
object should be reset to a fixed initial state (which it must
also know). Some objects may not support randomization of the initial
state, in which case a fixed state will be used in either case.Resettable.reset(boolean)
public Termination clone()
throws java.lang.CloneNotSupportedException
clone in interface Terminationclone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||