Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Commit a5ba00c

Browse files
authored
Add GoalState to support goal conditioned reinforcement learning (#121)
Add GoalState to support goal conditioned reinforcement learning
1 parent 86468f6 commit a5ba00c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/interface.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,10 @@ InformationSet() = InformationSet{Any}()
336336
@api struct InternalState{T} <: AbstractStateStyle end
337337
InternalState() = InternalState{Any}()
338338

339+
"Use it to represent the [goal state](http://proceedings.mlr.press/v37/schaul15.pdf)"
340+
@api struct GoalState{T} <: AbstractStateStyle end
341+
GoalState() = GoalState{Any}()
342+
339343
"""
340344
Sometimes people from different field talk about the same thing with a different
341345
name. Here we set the `Observation{Any}()` as the default state style in this

0 commit comments

Comments
 (0)