ca.nengo.model.plasticity
Interface Plastic

All Known Subinterfaces:
NEFEnsemble
All Known Implementing Classes:
DecodableEnsembleImpl, EnsembleImpl, LinearSynapticIntegrator, NEFEnsembleImpl, PlasticExpandableSpikingNeuron

public interface Plastic

Something is Plastic if it contains one or more terminations that can be modified (over simulation time) on the basis of a PlasticityRule.

Author:
Bryan Tripp

Method Summary
 float getPlasticityInterval()
           
 PlasticityRule getPlasticityRule(java.lang.String terminationName)
           
 java.lang.String[] getPlasticityRuleNames()
           
 void setPlasticityInterval(float time)
           
 void setPlasticityRule(java.lang.String terminationName, PlasticityRule rule)
           
 

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).

getPlasticityRuleNames

java.lang.String[] getPlasticityRuleNames()
Returns:
Names of Terminations for which plasticity rules can be set