internal void AddAxon(int angle, Neuron n) { Axon axon = new Axon(angle, this, n); Axons.Add(axon); n.Axons.Add(axon); }
public void CreateAxon(Neuron destination, double strength) { if (destination == null || IsRoot() || destination.IsRoot()) { return; } if (destination.DendriteStrength.ContainsKey(this)) { destination.DendriteStrength[this] = strength; } else { destination.DendriteStrength.Add(this, strength); destination.Dendrites.Add(this); Axons.Add(destination); } }