ca.nengo.model
Interface PlasticEnsemble

All Superinterfaces:
java.lang.Cloneable, Ensemble, Node, Resettable, java.io.Serializable, SimulationMode.ModeConfigurable, VisiblyMutable
All Known Subinterfaces:
DecodableEnsemble, NEFEnsemble
All Known Implementing Classes:
DecodableEnsembleImpl, NEFEnsembleImpl

public interface PlasticEnsemble
extends Ensemble

An extension of the default ensemble in which connection weights can be modified by a plasticity rule.

Author:
Trevor Bekolay

Nested Class Summary
 
Nested classes/interfaces inherited from interface ca.nengo.util.VisiblyMutable
VisiblyMutable.Event, VisiblyMutable.Listener, VisiblyMutable.NameChangeEvent, VisiblyMutable.NodeRemovedEvent
 
Method Summary
 float getPlasticityInterval()
           
 PlasticityRule getPlasticityRule(java.lang.String terminationName)
           
 void setPlasticityInterval(float time)
           
 void setPlasticityRule(java.lang.String terminationName, PlasticityRule rule)
           
 
Methods inherited from interface ca.nengo.model.Ensemble
collectSpikes, getNodes, getSpikePattern, isCollectingSpikes, redefineNodes
 
Methods inherited from interface ca.nengo.model.Node
clone, getDocumentation, getName, getOrigin, getOrigins, getTermination, getTerminations, run, setDocumentation, setName
 
Methods inherited from interface ca.nengo.model.Resettable
reset
 
Methods inherited from interface ca.nengo.model.SimulationMode.ModeConfigurable
getMode, setMode
 
Methods inherited from interface ca.nengo.util.VisiblyMutable
addChangeListener, removeChangeListener
 

Method Detail

getPlasticityRule

PlasticityRule getPlasticityRule(java.lang.String terminationName)
                                 throws StructuralException
Parameters:
terminationName - Name of termination to which plasticity rule applies.
Returns:
A rule that defines how the termination's transformation matrix elements change during simulation
Throws:
StructuralException - if the named Termination does not exist

setPlasticityRule

void setPlasticityRule(java.lang.String terminationName,
                       PlasticityRule rule)
                       throws StructuralException
Parameters:
terminationName - Name of termination to which plasticity rule applies.
rule - A rule that defines how the termination's transformation matrix elements change during simulation
Throws:
StructuralException - if the named Termination does not exist

getPlasticityInterval

float getPlasticityInterval()
Returns:
Period after which plasticity rules are evaluated (defaults to every time step).

setPlasticityInterval

void setPlasticityInterval(float time)
Parameters:
time - Period after which plasticity rules are evaluated (defaults to every time step).