예제 #1
0
파일: Imaging.cs 프로젝트: babaq/Soul
 public static double Normalize(double source, HillockType type)
 {
     switch (type)
     {
         case HillockType.Spike:
             source = (source - GlobleSettings.NeuronPotentialMin) / GlobleSettings.NeuronPotentialRange;
             break;
     }
     return source;
 }
예제 #2
0
 public ThresholdHeaviside(INeuron hostneuron, double threshold)
 {
     this.threshold = threshold;
     this.hostneuron = hostneuron;
     type = HillockType.Heaviside;
 }