//Constructors /// <summary> /// Creates an initialized instance /// </summary> /// <param name="weightCfg">Synapse's weight settings</param> /// <param name="plasticityCfg">Synapse's plasticity configuration</param> public SpikingSourceSTInputSettings(URandomValueSettings weightCfg = null, PlasticitySTInputSettings plasticityCfg = null ) { WeightCfg = weightCfg == null ? new URandomValueSettings(DefaultMinWeight, DefaultMaxWeight) : (URandomValueSettings)weightCfg.DeepClone(); PlasticityCfg = plasticityCfg == null ? new PlasticitySTInputSettings() : (PlasticitySTInputSettings)plasticityCfg.DeepClone(); Check(); return; }