public INeuron Create(ISoma soma, IAxon axon)
 {
     return(new NeuronBackpropagationDecorator
     {
         DecoratedNeuron = _neuronFactory.Create(soma, axon),
         IsDropped = false
     });
 }
Exemple #2
0
 public static INeuron GetInstance(ISoma soma, IAxon axon)
 {
     return(new Neuron(soma, axon));
 }
Exemple #3
0
 private Neuron(ISoma soma, IAxon axon)
 {
     _soma = soma;
     _axon = axon;
 }
 public INeuron Create(ISoma soma, IAxon axon)
 {
     return(Neuron.GetInstance(soma, axon));
 }
Exemple #5
0
 public Neuron(ISoma soma, IAxon axon)
 {
     Soma = soma;
     Axon = axon;
 }
Exemple #6
0
 public static INeuron GetInstance(ISoma soma, IAxon axon)
 {
     return new Neuron(soma, axon);
 }
Exemple #7
0
 private Neuron(ISoma soma, IAxon axon)
 {
     _soma = soma;
     _axon = axon;
 }