コード例 #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);
 }