From 4ebd8911cc0695cfbaa846e866aafbbee323da2b Mon Sep 17 00:00:00 2001 From: Jeremiah <4462211+jeremiahpslewis@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:29:14 +0100 Subject: [PATCH] Add information_state_string patch --- src/patch.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/patch.jl b/src/patch.jl index e864c4a..ca4f7d0 100644 --- a/src/patch.jl +++ b/src/patch.jl @@ -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)