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

Refactor exports #122

Merged
merged 2 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GR = "0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52, 0.53"
IntervalSets = "0.5"
MacroTools = "0.5"
OrdinaryDiffEq = "5"
ReinforcementLearningBase = "0.9.1"
ReinforcementLearningBase = "0.9.2"
Requires = "1.0"
StatsBase = "0.32, 0.33"
julia = "1.3"
5 changes: 1 addition & 4 deletions src/environments/examples/BitFlippingEnv.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
export BitFlippingEnv, GoalState
export BitFlippingEnv

"""
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.

Refer [Hindsight Experience Replay paper](https://arxiv.org/pdf/1707.01495.pdf) for the motivation behind the environment.
"""

struct GoalState{T} <: RLBase.AbstractStateStyle end
GoalState() = GoalState{Any}()

struct BitFlippingEnv <: AbstractEnv
N::Int
rng::AbstractRNG
Expand Down