Beispiel #1
0
 public abstract void calc(Neat nnw);
Beispiel #2
0
 public Neuron(Neat sender)
 {
     sender.Reset += reset;
 }
Beispiel #3
0
 public Neuron(Neat sender, int index) : this(sender) {
     this.index = index;
     this.input = 0;
     this.value = 0;
 }
Beispiel #4
0
 public OutputNeuron(Neat sender, int index) : base(sender, index)
 {
 }
Beispiel #5
0
 public OutputNeuron Clone(Neat sender)
 {
     return(new OutputNeuron(sender, index));
 }
Beispiel #6
0
 public StdNeuron Clone(Neat sender)
 {
     return(new StdNeuron(sender, index));
 }
Beispiel #7
0
        //private double input = 0;
        //private double bias = 0;
        //private double value = 0;
        //private List<Axon> axons = new List<Axon>();

        public StdNeuron(Neat sender, int index) : base(sender, index)
        {
        }
Beispiel #8
0
 public InputNeuron Clone(Neat sender)
 {
     return(new InputNeuron(sender, index));
 }
Beispiel #9
0
 public override void calc(Neat nnw)
 {
     value = input;
     input = 0;
 }
Beispiel #10
0
 public Neat(Neat parent) : this()
 {
     CopyFrom(parent);
 }