Beispiel #1
0
 public static double Normalize(double source, HillockType type)
 {
     switch (type)
     {
         case HillockType.Spike:
             source = (source - GlobleSettings.NeuronPotentialMin) / GlobleSettings.NeuronPotentialRange;
             break;
     }
     return source;
 }
Beispiel #2
0
 public ThresholdHeaviside(INeuron hostneuron, double threshold)
 {
     this.threshold = threshold;
     this.hostneuron = hostneuron;
     type = HillockType.Heaviside;
 }