コード例 #1
0
ファイル: NNW.cs プロジェクト: eight-orbits-pws/PWS
 public abstract void calc(Neat nnw);
コード例 #2
0
ファイル: NNW.cs プロジェクト: eight-orbits-pws/PWS
 public Neuron(Neat sender)
 {
     sender.Reset += reset;
 }
コード例 #3
0
ファイル: NNW.cs プロジェクト: eight-orbits-pws/PWS
 public Neuron(Neat sender, int index) : this(sender) {
     this.index = index;
     this.input = 0;
     this.value = 0;
 }
コード例 #4
0
 public OutputNeuron(Neat sender, int index) : base(sender, index)
 {
 }
コード例 #5
0
 public OutputNeuron Clone(Neat sender)
 {
     return(new OutputNeuron(sender, index));
 }
コード例 #6
0
 public StdNeuron Clone(Neat sender)
 {
     return(new StdNeuron(sender, index));
 }
コード例 #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)
        {
        }
コード例 #8
0
 public InputNeuron Clone(Neat sender)
 {
     return(new InputNeuron(sender, index));
 }
コード例 #9
0
 public override void calc(Neat nnw)
 {
     value = input;
     input = 0;
 }
コード例 #10
0
 public Neat(Neat parent) : this()
 {
     CopyFrom(parent);
 }