Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit 4e3eb9e

Browse files
authored
Refactor exports (#122)
* Refactor exports Remove GoalState as it is supported by RLBase * Update compat of RLBase Bump version of RLBase
1 parent 5c4dcce commit 4e3eb9e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ GR = "0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52, 0.53"
1919
IntervalSets = "0.5"
2020
MacroTools = "0.5"
2121
OrdinaryDiffEq = "5"
22-
ReinforcementLearningBase = "0.9.1"
22+
ReinforcementLearningBase = "0.9.2"
2323
Requires = "1.0"
2424
StatsBase = "0.32, 0.33"
2525
julia = "1.3"

src/environments/examples/BitFlippingEnv.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
export BitFlippingEnv, GoalState
1+
export BitFlippingEnv
22

33
"""
44
In Bit Flipping Environment we have n bits. The actions are 1 to n where executing i-th action flips the i-th bit of the state. For every episode we sample uniformly and inital state as well as the target state.
55
66
Refer [Hindsight Experience Replay paper](https://arxiv.org/pdf/1707.01495.pdf) for the motivation behind the environment.
77
"""
88

9-
struct GoalState{T} <: RLBase.AbstractStateStyle end
10-
GoalState() = GoalState{Any}()
11-
129
struct BitFlippingEnv <: AbstractEnv
1310
N::Int
1411
rng::AbstractRNG

0 commit comments

Comments
 (0)