This repository has been archived by the owner on May 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from JuliaML/ib/cartpole
interface: introduce maxsteps for CartPole v0 and v1 close #16
- Loading branch information
Showing
9 changed files
with
264 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# v0.1.0 | ||
|
||
- New interface for controlling episode termination `maxsteps(env)::Int` ([#17]). | ||
The condition of termination is `finished(...) || maxsteps(...)` now. | ||
|
||
- New field for `CartPole` environment: `maxsteps`. | ||
An keyword of constructor is added: `CartPole(; maxsteps = 42)` ([#17]). | ||
|
||
Also, there are helper functions of CartPole v0 and v1: | ||
- `CartPoleV0()`: this is equal to `CartPole(maxsteps = 200)` | ||
- `CartPoleV1()`: this is equal to `CartPole(maxsteps = 500)` | ||
|
||
[#17]: https://github.com/JuliaML/Reinforce.jl/pull/17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.