A Simulation Based Learning Meachanism for Scheduling Systems