Skip to content

Commit

Permalink
Merge pull request #20 from JuliaReinforcementLearning/jeremiahpslewi…
Browse files Browse the repository at this point in the history
…s-patch-1

Add information_state_string
  • Loading branch information
jeremiahpslewis authored Mar 1, 2024
2 parents 511dd9d + d233e4f commit 436004b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OpenSpiel"
uuid = "ceb70bd2-fe3f-44f0-b81f-41608acaf2f2"
authors = ["Jun Tian <[email protected]>"]
version = "0.2.0"
version = "0.2.1"

[deps]
CxxWrap = "1f15a43c-97ca-5a2a-ae31-89f07a497df4"
Expand Down
2 changes: 2 additions & 0 deletions src/patch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ is_terminal(state::CxxWrap.StdLib.UniquePtrAllocated{State}) = is_terminal(state

information_state_string(state::CxxWrap.StdLib.UniquePtrAllocated{State}) = information_state_string(state[])

information_state_string(state::CxxWrap.StdLib.UniquePtrAllocated{State}, i) = information_state_string(state[], i)

get_uniform_policy(game::CxxWrap.StdLib.SharedPtrAllocated{Game}) = get_uniform_policy(game[])

record_batched_trajectories(game::CxxWrap.StdLib.SharedPtrAllocated{Game}, p::CxxWrap.StdLib.StdVectorAllocated{TabularPolicy}, m::StdMapAllocated{StdString, Int32}, i::Int64, b::Bool, i2::Int64, i3::Int64) = record_batched_trajectories(game[], p, m, i, b, i2, i3)
Expand Down

0 comments on commit 436004b

Please sign in to comment.