Beispiel #1
0
        public NeuralNet copy()
        {
            NeuralNet nn = new NeuralNet();

            nn.setHiddenLayer(hiddenNodes);
            nn.setOutputLayer(outputNodes);
            nn.setEdgesToLayer1(edgesAToB);
            nn.setEdgesToLayer2(edgesBToC);
            return(nn);
        }
Beispiel #2
0
 public AI(int playerIndex)
 {
     this.playerIndex = playerIndex;
     neuralNet        = new NeuralNet();
 }
Beispiel #3
0
 public void setNeuralNet(NeuralNet neuralNet)
 {
     this.neuralNet = neuralNet;
 }