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