示例#1
0
文件: Network.cs 项目: quinv/SimpleAI
 public Network(NetworkStructure networkStructure, string weightsFile)
 {
     this.networkStructure = networkStructure;
     weights = new Weights();
     weights.LoadWeights(weightsFile);
     networkEvaluator = new NetworkEvaluator(this.networkStructure, weights);
 }
示例#2
0
文件: Network.cs 项目: quinv/SimpleAI
 public Network(NetworkStructure networkStructure, Weights weights)
 {
     this.networkStructure = networkStructure;
     this.weights          = weights;
     networkEvaluator      = new NetworkEvaluator(this.networkStructure, this.weights);
 }
示例#3
0
文件: Network.cs 项目: quinv/SimpleAI
 public Network(NetworkStructure networkStructure, int[] nodesPerLayer)
 {
     this.networkStructure = networkStructure;
     weights          = new Weights(nodesPerLayer);
     networkEvaluator = new NetworkEvaluator(this.networkStructure, weights);
 }