{
memory = new float[brain.brainParameters.memorySize];
stepCounter = 0;
CumulativeReward = 0f;
AgentReset();
}
public void SetCumulativeReward()
CumulativeReward += reward;
if (!done) {
else{
/// Do not modify : Is used by the brain to collect done.