//ラウンドを実行し,そのラウンドの正解率を求める public ExpResult ExecRound(bool learning = true) { // ラウンド開始 StartRound(); ManySteps(SensorRate); // 実行結果:Accuracyを受け取る ExpAccuracy res = this.EnvAccuracy; // 実行結果:ImportanceLevelを受け取る ExpAgentsParam aveIL = calcAverageImportanceLevel(); if (learning) { // ラウンド終了。エージェントは学習し、初期化される。 FinishRound(); } else { // ラウンド終了。エージェントは学習せず、初期化される。 CancelRound(); } return(new ExpResult(res, aveIL)); }
public ExpResult(ExpAccuracy acc, ExpAgentsParam a) { Accuracy = acc; AgentsParam = a; }
public ExpResult(ExpAccuracy acc, ExpAgentsParam a) { Accuracy = acc; AgentsParam = a; }