public IOperator action(IState s) { if (rand.NextDouble() < epsilon) { int size = qLearning.Env.ApplicableOperators(s).Count(); return(qLearning.Env.ApplicableOperators(s).ElementAt(rand.Next(size))); } else { return(qLearning.GetBestOp(s)); } }
public IOperator action(IState s) { return(qLearning.GetBestOp(s)); }