Example #1
0
File: LI.cs Project: babaq/Soul
 public LI(string name, Point3D position, IHillock hillock, double initpotential, double r, double c, double restpotential, double startT)
     : base(name, position, hillock, initpotential, startT)
 {
     this.r = r;
     this.c = c;
     this.restpotential = restpotential;
     DynamicRule = CoreFunc.dLI;
     type = NeuronType.LI;
 }
Example #2
0
File: MP.cs Project: babaq/Soul
 public MP(string name, Point3D position, IHillock hillock, double initpotential, double startT)
 {
     id = Guid.NewGuid();
     this.name = name;
     this.position = position;
     synapses = new Dictionary<Guid, ISynapse>();
     currentsources = new Dictionary<Guid, ICurrentSource>();
     this.hillock = hillock;
     this.hillock.HostNeuron = this;
     this.initpotential = initpotential;
     ReSet(startT);
     parentnetwork = null;
     dynamicrule = null;
     type = NeuronType.MP;
 }