|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Projection
A connection between an Origin and a Termination.
Method Summary | |
---|---|
void |
addBias(int numInterneurons,
float tauInterneurons,
float tauBias,
boolean excitatory,
boolean optimize)
Makes all the synaptic weights in the projection either positive or negative, so that the projection accords with Dale's principle. |
boolean |
biasIsEnabled()
|
void |
enableBias(boolean enable)
|
Network |
getNetwork()
|
Origin |
getOrigin()
|
Termination |
getTermination()
|
float[][] |
getWeights()
|
void |
removeBias()
Deletes bias-related interneurons, projections, origins, and terminations. |
java.lang.String |
toScript(java.util.HashMap<java.lang.String,java.lang.Object> scriptData)
|
Method Detail |
---|
Origin getOrigin()
Termination getTermination()
Network getNetwork()
void addBias(int numInterneurons, float tauInterneurons, float tauBias, boolean excitatory, boolean optimize) throws StructuralException
numInterneurons
- Number of interneurons through which bias function is projectedtauInterneurons
- Time constant of post-synaptic current in projection from presynaptic ensemble to interneurons (typically short)tauBias
- Time constant of post-synaptic current in projection from interneurons to postsynaptic ensembleexcitatory
- If true, synapses in main projection are made excitatory; if false, inhibitoryoptimize
- If true, performs optimizations to minimize distortion in the parallel projection through interneurons
StructuralException
- if bias can't be addedvoid removeBias()
void enableBias(boolean enable)
enable
- If true, and initializeBias(...) has been called, then bias is enabled; if false it is disabled (default true)boolean biasIsEnabled()
float[][] getWeights()
java.lang.String toScript(java.util.HashMap<java.lang.String,java.lang.Object> scriptData) throws ScriptGenException
ScriptGenException
|
Nengo.ca | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |