public override void AgentAction(float[] vectorAction, string textAction) { var action = (int)vectorAction[0]; AddReward(bandit.PullArm(action)); // Done(); }
public override void AgentAction(float[] vectorAction, string textAction) { int action = (int)vectorAction[0]; if (currentBandit) { AddReward(currentBandit.PullArm(action)); } }