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