public INeuron Create(ISoma soma, IAxon axon) { return(new NeuronBackpropagationDecorator { DecoratedNeuron = _neuronFactory.Create(soma, axon), IsDropped = false }); }
public static INeuron GetInstance(ISoma soma, IAxon axon) { return(new Neuron(soma, axon)); }
private Neuron(ISoma soma, IAxon axon) { _soma = soma; _axon = axon; }
public INeuron Create(ISoma soma, IAxon axon) { return(Neuron.GetInstance(soma, axon)); }
public Neuron(ISoma soma, IAxon axon) { Soma = soma; Axon = axon; }
public static INeuron GetInstance(ISoma soma, IAxon axon) { return new Neuron(soma, axon); }