tive reward from current time step to the end of an episode would cancel the intermediate rewards and thus reflect whether current action improves the overall performance or not.
research was sponsored in part by U.S. Army research Lab.