//Constructor /// <summary> /// Creates an initialized instance /// </summary> /// <param name="sourceNeuron">Source neuron</param> /// <param name="dynamicsCfg">Dynamics configuration</param> public LinearEfficacy(INeuron sourceNeuron, LinearDynamicsSettings dynamicsCfg) { _sourceNeuronOutputData = sourceNeuron.OutputData; _dynamicsCfg = (LinearDynamicsSettings)dynamicsCfg.DeepClone(); Reset(); return; }
//Constructor /// <summary> /// Creates an initialized instance. /// </summary> /// <param name="presynapticNeuron">The presynaptic neuron.</param> /// <param name="dynamicsCfg">The configuration of the dynamics.</param> public LinearEfficacy(INeuron presynapticNeuron, LinearDynamicsSettings dynamicsCfg) { _presynapticNeuronOutputData = presynapticNeuron.OutputData; _dynamicsCfg = (LinearDynamicsSettings)dynamicsCfg.DeepClone(); Reset(); return; }