コード例 #1
0
ファイル: LinearEfficacy.cs プロジェクト: thild/NET
 //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;
 }
コード例 #2
0
 //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;
 }