internal IList <Synapse> CreateTerminalsFromWeightList(ISynapseFactory synapseFactory, IList <double> weights) { var terminals = new List <Synapse>(); for (int t = 0; t < weights.Count; t++) { terminals.Add(synapseFactory.Create(weights[t])); } return(terminals); }
internal IList <Synapse> CreateTerminals(ISynapseFactory synapseFactory, int numberOfSynapses) { var terminals = new List <Synapse>(); for (int t = 0; t < numberOfSynapses; t++) { terminals.Add(synapseFactory.Create()); } return(terminals); }
internal IList<Synapse> CreateTerminalsFromWeightList(ISynapseFactory synapseFactory, IList<double> weights) { var terminals = new List<Synapse>(); for (int t = 0; t < weights.Count; t++) { terminals.Add(synapseFactory.Create(weights[t])); } return terminals; }
internal IList<Synapse> CreateTerminals(ISynapseFactory synapseFactory, int numberOfSynapses) { var terminals = new List<Synapse>(); for (int t = 0; t < numberOfSynapses; t++) { terminals.Add(synapseFactory.Create()); } return terminals; }