public void Main(string[] args) { //the size of the network int size = 5; //create array of Neurons BaseNeuron[] network = new BaseNeuron[size]; for (int i = 0; i < network.length; i++) { //link up neurons together here } }
public void Main(string[] args) { //the size of the network int size = 5; //create array of Neurons BaseNeuron[] network = new BaseNeuron[size]; for (int i = 0; i < network.length; i++) { //actually create a new nueron (instantiate them) network[i] = new BaseNeuron(); //link up neurons together, etc } }
/// <summary> /// Конструктор /// </summary> /// <param name="weight">Вес синапса</param> /// <param name="synapseDestination">Точка входа синапса</param> public Synapse(SynapseWeight weight, BaseNeuron synapseDestination) { Weight = weight; SynapseDestination = synapseDestination; }