public AnimatedState(Synapse synapse, AnimatedVector vector, bool duplex = false) { this.synapse = synapse; this.vector = vector; this.duplex = duplex; radius = Constant.Radius / 2; history = new List <CreationData>(); }
public AnimatedSynapse(AnimatedNeuron pre, AnimatedNeuron post, Synapse syn) { this.pre = pre; this.post = post; duplex = null; vector = new AnimatedVector(pre, post); synapse = new AnimatedState(syn, vector); pre.Output.Add(this); post.Input.Add(this); changePosition(); }