Update CartPole reward documentation (#429)

This commit is contained in:
Roberto Schiavone
2023-04-04 00:52:56 +02:00
committed by GitHub
parent 30a6bca8f3
commit 066b843e6d

View File

@@ -58,7 +58,7 @@ class CartPoleEnv(gym.Env[np.ndarray, Union[int, np.ndarray]]):
## Rewards
Since the goal is to keep the pole upright for as long as possible, a reward of `+1` for every step taken,
including the termination step, is allotted. The threshold for rewards is 475 for v1.
including the termination step, is allotted. The threshold for rewards is 500 for v1 and 200 for v0.
## Starting State