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