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