Beispiel #1
0
 private Soma(IList<Synapse> dendrites, ISummationFunction summationFunction, double bias)
 {
     _dendrites = dendrites;
     _summationFunction = summationFunction;
     _bias = bias;
 }
Beispiel #2
0
 public static ISoma GetInstance(IList<Synapse> dendrites, ISummationFunction summationFunction, double bias)
 {
     return new Soma(dendrites, summationFunction, bias);
 }
Beispiel #3
0
 public Soma(IList <Synapse> dendrites, ISummationFunction summationFunction, double bias)
 {
     Dendrites         = dendrites;
     SummationFunction = summationFunction;
     Bias = bias;
 }
Beispiel #4
0
 public static ISoma GetInstance(IList <Synapse> dendrites, ISummationFunction summationFunction, double bias)
 {
     return(new Soma(dendrites, summationFunction, bias));
 }
Beispiel #5
0
 public static ISomaFactory GetInstance(ISummationFunction summationFunction)
 {
     return new SomaFactory(summationFunction);
 }
Beispiel #6
0
 private SomaFactory(ISummationFunction summationFunction)
 {
     _summationFunction = summationFunction;
 }
Beispiel #7
0
 private Soma(IList <Synapse> dendrites, ISummationFunction summationFunction, double bias)
 {
     _dendrites         = dendrites;
     _summationFunction = summationFunction;
     _bias = bias;
 }
Beispiel #8
0
 public static ISomaFactory GetInstance(ISummationFunction summationFunction)
 {
     return(new SomaFactory(summationFunction));
 }
Beispiel #9
0
 private SomaFactory(ISummationFunction summationFunction)
 {
     _summationFunction = summationFunction;
 }